Michael
90a3c2e357
Store runtime data inside the config entry in NUT ( #116771 )
...
* store runtime data inside the config entry
* remove unsued constants
* add test for InvalidDeviceAutomationConfig exception
* assert entry
* add more specific type hint
2024-05-04 23:08:01 +02:00
Michael
4a25e67234
Store runtime data inside the config entry in Pi-Hole ( #116806 )
2024-05-04 22:52:13 +02:00
Michael
55ffc82be1
Store runtime data inside the config entry in Speedtest.net ( #116802 )
2024-05-04 22:32:53 +02:00
mkmer
2132b170f2
Update unique_id to string in Honeywell ( #116726 )
...
* Update unique_id to string
* Update homeassistant/components/honeywell/climate.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/honeywell/climate.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/honeywell/climate.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add typing for devices
* Add tests
* Use methods to verify unique_id
* Update tests/components/honeywell/test_climate.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-05-04 14:18:50 +02:00
Michael
e5543e3b95
Store runtime data inside the config entry in DWD ( #116764 )
2024-05-04 12:36:28 +02:00
Sid
a5df229715
Bump ruff to 0.4.3 ( #116749 )
2024-05-04 11:56:40 +02:00
Robert Svensson
81a269f4f5
Use runtime_data in Axis integration ( #116729 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-05-03 21:52:37 +02:00
Jan-Philipp Benecke
ce8cea86a2
Use ConfigEntry runtime_data in Discovergy ( #116671 )
2024-05-03 21:29:35 +02:00
Erik Montnemery
e9b9d2d545
Convert recorder entity registry tests to use async API ( #116448 )
...
* Convert recorder entity registry tests to use async API
* Address review comment
* Make sure recorder is patch is set up before hass fixture
2024-05-03 14:10:58 +02:00
Erik Montnemery
f309064a7f
Convert sensor recorder tests to use async API ( #116373 )
...
* Convert sensor recorder tests to use async API
* Fix accidentally renamed test
* Avoid unnecessary calls to async_wait_recording_done
* Avoid auto-commits for every state change
* Make sure recorder patches are set up before hass fixture
2024-05-03 14:07:38 +02:00
Guido Schmitz
cb26e3c633
Use ConfigEntry runtime_data in devolo Home Control ( #116672 )
2024-05-03 13:55:04 +02:00
Guido Schmitz
79d50a0685
Add test for HA stop to devolo Home Control ( #116682 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-05-03 13:36:15 +02:00
Marc Mueller
28ab45d5d8
Fix snapcast test warning ( #116687 )
2024-05-03 13:29:05 +02:00
Marc Mueller
15b24dfbc2
Fix fyta test warning ( #116688 )
2024-05-03 13:28:36 +02:00
Marc Mueller
4a2b595cc8
Fix fyta test timezone handling ( #116689 )
2024-05-03 13:07:12 +02:00
MatthewFlamm
6413376ccb
Fix nws forecast coordinators and remove legacy forecast handling ( #115857 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-03 13:06:40 +02:00
J. Nick Koston
2b2b46c774
Bump habluetooth to 3.0.1 ( #116663 )
2024-05-03 12:15:51 +02:00
Jan Bouwhuis
84308c9e53
Add title feature to notify entity platform ( #116426 )
...
* Add title feature to notify entity platform
* Add overload variants
* Remove overloads, update signatures
* Improve test coverage
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Do not use const
* fix typo
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-05-03 11:17:28 +02:00
Erik Montnemery
27fcf72275
Convert history tests to use async API ( #116447 )
...
* Convert history tests to use async API
* Add new fixture to help patch recorder
* Modify
* Modify
* Update tests/conftest.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Rename fixture
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-05-03 08:14:46 +02:00
J. Nick Koston
c07f02534b
Migrate bluetooth to use the singleton helper ( #116629 )
2024-05-02 19:35:16 -05:00
Marc-Olivier Arsenault
0e23d0439b
Add ecobee ventilator 20 min timer ( #115969 )
...
* add 20 min timer Ecobee
* modify local value with estimated time
* add ecobee test switch
* removed manual setting of data
* Add no throttle updates
* add more test cases
* move timezone calculation in update function
* update attribute based on feedback
* use timezone for time comparaison
* add location data to tests
* remove is_on function
* update python-ecobee-api lib
* remove uncessary checks
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-05-03 02:08:25 +02:00
Erik Montnemery
b013d6ade9
Fix flaky hassio test ( #116658 )
2024-05-02 16:24:14 -05:00
Jan Bouwhuis
41b688645a
Refactor group state logic ( #116318 )
...
* Refactor group state logic
* Fix
* Add helper and tests for groups with entity platforms multiple ON states
* Adress comments
* Do not store object and avoid linear search
* User dataclass, cleanup multiline ternary
* Add test cases for grouped groups
* Remove dead code
* typo in comment
* Update metjod and module docstr
2024-05-02 21:55:46 +02:00
Jan Bouwhuis
bedd5c1cef
Cleanup removed MQTT broker settings ( #116633 )
2024-05-02 20:37:21 +02:00
Maciej Bieniek
37d9ed899d
Add `binary_sensor` platform to IMGW-PIB integration ( #116624 )
...
* Add binary_sensor platform
* Add tests
* Remove state attributes
* Remove attrs from strings.json
* Use base entity class
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-02 16:16:26 +02:00
Marc Mueller
ef242f2883
Use runtime_data for bond ( #116611 )
2024-05-02 07:38:59 -05:00
Marc Mueller
63a45035dd
Use runtime_data for ambient_station ( #116608 )
2024-05-02 13:42:16 +02:00
Marc Mueller
5e8c9d66fb
Use runtime_data for airvisual_pro ( #116607 )
2024-05-02 13:41:32 +02:00
blob810
1170ce1296
Add shutter tilt support for Shelly Wave Shutter QNSH-001P10 ( #116211 )
...
* Add shutter tilt support for Shelly Wave Shutter QNSH-001P10
* Add shelly_europe_ltd_qnsh_001p10_state.json fixture
* Update test_discovery.py
* Load shelly wave shutter 001p10 node fixture
* Update test_discovery.py
Check if entity of first node exists.
* Update test_discovery.py
Add additional comments
* Clean whitespace
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-05-02 11:02:35 +02:00
J. Nick Koston
041456759f
Remove duplicate mid handling in MQTT ( #116531 )
2024-05-01 15:18:44 -05:00
Joost Lekkerkerker
e68901235b
Store runtime data in entry in Analytics Insights ( #116441 )
2024-05-01 22:13:38 +02:00
Maciej Bieniek
ae6a497cd1
Add diagnostics platform to IMGW-PIB integration ( #116551 )
...
* Add diagnostics
* Add tests
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-01 21:06:22 +02:00
Michael
c5cac8fed4
Store runtime data inside the config entry in AVM Fritz!Smarthome ( #116523 )
2024-05-01 20:51:39 +02:00
G Johansson
51f9e661a4
Workday only update once a day ( #116419 )
...
* Workday only update once a day
* Fix tests
2024-05-01 17:11:47 +02:00
Maciej Bieniek
c46be022c8
Add IMGW-PIB integration ( #116468 )
...
* Add sensor platform
* Add tests
* Fix icons.json
* Use entry.runtime_data
* Remove validate_input function
* Change abort reason to cannot_connect
* Remove unnecessary square brackets
* Move _attr_attribution outside the constructor
* Use native_value property
* Use is with ENUMs
* Import SOURCE_USER
* Change test name
* Use freezer.tick
* Tests refactoring
* Remove test_setup_entry
* Test creating entry after error
* Add missing async_block_till_done
* Fix translation key
* Remove coordinator type annotation
* Enable strict typing
* Assert config entry unique_id
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-05-01 14:38:36 +02:00
Luke Lashley
835ce919f4
Fix roborock image crashes ( #116487 )
2024-05-01 11:56:02 +02:00
Marcel van der Veldt
8230bfcf8f
Some fixes for the Matter light discovery schema ( #116108 )
...
* Fix discovery schema for light platform
* fix switch platform discovery schema
* extend light tests
* Update switch.py
* clarify comment
* use parameter for supported_color_modes
2024-05-01 11:46:52 +02:00
wittypluck
7a10959e58
Use websocket client to test device removal in Unifi ( #116309 )
...
* Use websocket client to test device removal from registry
* Rename client to ws_client to avoid confusion with Unifi clients
* Use remove_device helper
2024-05-01 08:46:03 +02:00
J. Nick Koston
6cf1c5c1f2
Hold a lock to prevent concurrent setup of config entries ( #116482 )
2024-04-30 18:47:12 -05:00
Jan Bouwhuis
3c7cbf5794
Add test MQTT subscription is completed when birth message is sent ( #116476 )
2024-04-30 18:15:46 -05:00
Richard Kroegel
0d0865e783
Bump bimmer_connected to 0.15.2 ( #116424 )
...
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-04-30 22:49:28 +02:00
puddly
963d8d6a76
Change SkyConnect integration type back to `hardware` and fix multi-PAN migration bug ( #116474 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-04-30 22:47:17 +02:00
Robert Resch
1641df18ce
Store runtime data in entry in Ecovacs ( #116445 )
2024-04-30 22:44:56 +02:00
G Johansson
23a8b29bfe
Bring sensibo to full coverage (again) ( #116469 )
2024-04-30 21:31:52 +02:00
J. Nick Koston
9995207817
Avoid re-encoding the message id as bytes for every event/state change ( #116460 )
2024-04-30 12:02:28 -05:00
andarotajo
1e63665bf2
Mock dwdwfsapi in all tests that use it ( #116414 )
...
* Mock dwdwfsapi in all tests
* Add mocking for config entries
* Fix assertions in init test
2024-04-30 18:08:15 +02:00
epenet
a440783208
Store runtime data in entry in renault ( #116454 )
2024-04-30 17:39:03 +02:00
epenet
0005f8400d
Move Renault service registration ( #116459 )
...
* Move Renault service registration
* Hassfest
2024-04-30 17:10:40 +02:00
epenet
8291769361
Store runtime data in entry in onewire ( #116450 )
...
* Store runtime data in entry in onewire
* Adjust
2024-04-30 15:55:20 +02:00
epenet
ad84ff18eb
Use remove_device helper in tests (1/2) ( #116240 )
...
* Use remove_device helper in tests
* Update test_tag.py
* Update test_tag.py
2024-04-30 12:52:33 +02:00