J. Nick Koston
e2276458ed
Fix homekit_controller tests to avoid global aid generation ( #119852 )
2024-07-17 19:10:02 -05:00
Paulus Schoutsen
454ca0ce95
Add timer support to mobile app ( #121469 )
...
* Add timer support to mobile app
* Fix tests
* Make it time-sensitive
2024-07-17 18:40:05 -05:00
Steven B.
55cee89392
Update tplink device config during reauth flow ( #122089 )
2024-07-17 14:07:53 -05:00
Michael Hansen
fa0a5451b9
Split up tests to avoid CI timeouts ( #122096 )
2024-07-17 20:32:26 +02:00
Aidan Timson
52b90621c7
System Bridge coordinator and connector refactor ( #114896 )
...
* Update systembridgeconnector to 5.0.0.dev2
* Refactor
* Move out of single use method
* Update systembridgeconnector to 4.1.0.dev0 and systembridgemodels to 4.1.0
* Refactor WebSocket connection handling in SystemBridgeDataUpdateCoordinator
* Remove unnessasary fluff
* Update system_bridge requirements to version 4.1.0.dev1
* Set systembridgeconnector to 4.1.0
* Fix config flow tests
We'll make this better later
* Add missing tests for media source
* Update config flow tests
* Add missing check
* Refactor WebSocket connection handling in SystemBridgeDataUpdateCoordinator
* Move inside try
* Move log
* Cleanup log
* Fix disconnection update
* Set unregistered on disconnect
* Remove bool, use listener task
* Fix eager start
* == -> is
* Reduce errors
* Update test
2024-07-17 18:39:24 +02:00
Jan Bouwhuis
843fae825f
Revert "Remove stale template_topic
code for mqtt publish service" ( #121758 )
...
Revert "Remove stale `template_topic` code for mqtt publish service (#121604 )"
This reverts commit 5b25c24539c82cc3c014fde744a3f678e98890f0.
2024-07-17 17:56:34 +02:00
Robert Resch
10c084c6e0
Add created_at/modified_at to label registry ( #122078 )
2024-07-17 16:36:14 +02:00
Franck Nijhof
8ae4c4445d
Clean up old migration in HomeWizard ( #122086 )
2024-07-17 16:18:21 +02:00
Arie Catsman
1e8da192b6
Add switch platform test to enphase_envoy ( #122068 )
...
* Add switch platform test to enphase_envoy
* review feedback Use HA SWITCH_DOMAIN
* Only use SWITCH_DOMAIN for service call
2024-07-17 14:51:02 +02:00
Robert Resch
a0f91d27a3
Add created_at/modified_at to floor registry ( #122071 )
2024-07-17 13:18:26 +02:00
Guido Schmitz
7bf4e4779c
Use model_id in devolo_home_control ( #122066 )
2024-07-17 13:09:56 +02:00
Erik Montnemery
6921e053e4
Move recorder data migration implementation to migrators ( #122045 )
2024-07-17 10:59:58 +02:00
Robert Resch
35f84f32d6
Add created_at/modified_at for area registry ( #122014 )
2024-07-17 09:54:06 +02:00
Erik Montnemery
054242ff0f
Require specifying extended address in otbr WS API calls ( #108282 )
...
Co-authored-by: Stefan Agner <stefan@agner.ch>
2024-07-17 09:04:54 +02:00
Franck Nijhof
dc9b25af1c
Change model to model_id in LaMetric ( #122044 )
2024-07-16 23:48:34 +02:00
Guido Schmitz
0ad2398bda
Use model_id in devolo_home_network ( #122048 )
2024-07-16 22:39:00 +02:00
Michael
89198b0512
Fix flakey tibber tests ( #121993 )
2024-07-16 22:36:31 +02:00
Joakim Plate
8d290dd9d6
Convert arcam_fmj to runtime data ( #122047 )
2024-07-16 22:35:04 +02:00
Erik Montnemery
9970b7eece
Refactor recorder data migration ( #121009 )
...
* Refactor recorder data migration
* Fix stale docstrings
* Don't store a session object in BaseRunTimeMigration instances
* Simplify logic in EntityIDMigration.migration_done
* Fix tests
2024-07-16 21:50:19 +02:00
Arie Catsman
baa97ca981
Add fixture files to Enphase_Envoy tests ( #121864 )
...
* Add fixture files to Enphase_Envoy tests
* optimize fixtures in enphase_envoy conftest
* combine setup_enphase_envoy and mock_envoy in enphase_envoy tests
* Revert "combine setup_enphase_envoy and mock_envoy in enphase_envoy tests"
This reverts commit ec072c4726bc1348f87608f744ff06117e762bae.
* Rework enphase tests
* Rework enphase tests
* reset diagnostics test snapshot
---------
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-07-16 21:14:46 +02:00
Erik Montnemery
d8440e809a
Avoid mutating database schema definitions during schema migration ( #122012 )
...
* Avoid mutating database schema definitions during schema migration
* Adjust test when using mysql
* Address review comment
2024-07-16 20:27:49 +02:00
Robert Svensson
aeabe3ab95
Mark UniFi power cycle button as unavailable if PoE is not enabled on port ( #122035 )
2024-07-16 20:16:36 +02:00
Joost Lekkerkerker
f8ba4d41ba
Add support for adding model_id in device info ( #121989 )
2024-07-16 15:12:25 +02:00
Erik Montnemery
336740dbfa
Add recorder migration test starting with schema version 9 ( #122011 )
2024-07-16 15:12:23 +02:00
Erik Montnemery
ea29c2c4d4
Improve tests/patch_time.py ( #122017 )
2024-07-16 14:22:22 +02:00
Glenn Waters
6645932fb7
Fix for Environment Canada date being wrong after midnight ( #121850 )
...
* Use async_connect in newly bumped 0.5.8 UPB library.
* Fix tests.
* Fix date being wrong after midnight for Environment Canada
* Fix typing.
* Add test.
* Formatting.
* Remove tests until can be added properly.
* Add weather tests back.
* Fix tests
* Change of tactic for determining previous day's data.
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-07-16 11:57:37 +02:00
Björn Ebbinghaus
2723ab3b27
Add mac address as connection for matter device ( #121257 )
2024-07-16 00:54:16 +02:00
Maciej Bieniek
260e98c3f7
Add support for Shelly number
virtual component ( #121894 )
...
* Support number component in field mode
* Support number in label mode
* Add tests
* Add mode_fn
* Add support for number component in slider mode
* Add comment
* Suggested change
* Revert max_fn
* Change unit 'min' to 'Hz' in test
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-07-15 22:26:12 +02:00
Franck Nijhof
a9bf12f102
Rename Services to Actions in translation strings ( #121777 )
2024-07-15 21:19:25 +02:00
Álvaro Fernández Rojas
e9d4c03300
Update aioairzone to v0.8.0 ( #121991 )
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-07-15 20:49:21 +02:00
Richard Kroegel
99f01ac61e
Fix BMW remaining fuel device class ( #119172 )
...
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-07-15 09:23:05 +02:00
Maciej Bieniek
50751574b4
Fix configuration_url
for Shelly device using IPv6 ( #121939 )
...
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-07-15 08:31:44 +02:00
Kevin Stillhammer
ab945ee76e
Add Broadlink select platform ( #121797 )
...
* Add broadlink select platform
* Apply strings.json feedback
* Remove obsolete Service Exception
* Use day names instead of IDs
* Use list()
2024-07-14 23:59:24 +02:00
J. Nick Koston
6d8f99903d
Migrate lutron_caseta to use entry.runtime_data ( #121903 )
...
* Migrate lutron_caseta to use entry.runtime_data
* Migrate lutron_caseta to use entry.runtime_data
2024-07-14 23:26:12 +02:00
J. Nick Koston
73f6e3c07b
Narrow sqlite database corruption check to ensure disk image is malformed ( #121947 )
...
* Narrow sqlite database corruption check to ensure disk image is malformed
The database corruption check would also replace the database when it
locked externally instead of only when its malformed.
This was discovered in https://github.com/home-assistant/core/issues/121909#issuecomment-2227409124
when a user did a manual index creation while HA was online
* tweak
* tweak
* fix
* fix
2024-07-14 23:23:07 +02:00
J. Nick Koston
19d2d023ab
Ensure states table rebuild still happens if the event_id index was removed ( #121938 )
...
* Ensure states table rebuild still happens if the event_id index was removed
If ix_states_event_id was removed by the foreign key still
exists, the states table would not get rebuilt. This should
not happen under normal circumstances and seems to only be
possible if the index was removed manually or Home
Assistant was restarted forcefully in the middle
of a previous migration from years ago.
* cover
* fix tests
* mysql wont allow at that point but thats ok as long as its gone at the end
2024-07-14 23:20:52 +02:00
David F. Mulcahey
342e6a503a
Fix group operations in ZHA websocket API ( #121881 )
2024-07-14 03:25:15 +02:00
Álvaro Fernández Rojas
c044417837
Dynamically add Airzone entities ( #121891 )
...
* airzone: reload entry on new devices
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Revert "airzone: reload entry on new devices"
This reverts commit 3ecc0844e42a9c088a0acb1fea085cb1a84f6c5a.
* airzone: sensor: dynamically add new entities
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* tests: restore reverted airzone tests
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: sensor: code fixes
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: water_heater: dynamically add entities
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: binary_sensor: dynamically add entities
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: select: dynamically add entities
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: climate: dynamically add entities
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* tests: airzone: use freezer
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: call async_add_entities once
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: wrap async_add_listener on async_on_unload
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* airzone: reduce number of entity listeners
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
---------
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-07-13 21:45:08 +02:00
Jan Bouwhuis
3111951757
Fix alexa does to check current_position
correctly when handling cover range changes ( #121798 )
2024-07-13 16:10:09 +02:00
Maciej Bieniek
a34858a567
Use parametrize in tests for Shelly boolean
virtual component ( #121895 )
...
Use parametrize in tests
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-07-13 15:27:17 +03:00
Shai Ungar
2dec7136c8
Address post merge review on israel rail ( #121872 )
...
* Address late israel rail review
* transfers => trains
2024-07-13 10:54:27 +02:00
Avi Miller
5f33e85b30
Initial support for LIFX Ceiling SKY effect ( #121820 )
2024-07-12 21:16:16 -05:00
dougiteixeira
162b734be7
Add config flow for select platform in Template ( #121809 )
2024-07-12 17:50:02 +02:00
Allen Porter
a2fab98358
Remove an unneeded test dependency on pydantic in matrix ( #121860 )
2024-07-12 17:45:04 +02:00
Klaas Schoute
0d27cdc845
Add inverters to Autarco integration ( #121779 )
2024-07-12 16:54:22 +02:00
J. Nick Koston
a8321fac95
Add reauth support to doorbird ( #121815 )
2024-07-12 16:53:39 +02:00
Franck Nijhof
726fcb485d
Extend search with support for integrations ( #121765 )
2024-07-12 16:31:49 +02:00
J. Nick Koston
2e71c8d43b
Fix homekit linked doorbell and motion firing on reload ( #121818 )
2024-07-12 16:29:55 +02:00
J. Nick Koston
a67b6c5ba6
Avoid recording additional light attributes ( #121776 )
2024-07-12 16:27:50 +02:00
G Johansson
df85067cae
Add device link to History stats helper ( #121848 )
2024-07-12 16:01:50 +02:00