Commit Graph
112481 Commits
Author SHA1 Message Date
Joakim Plate 22d977acb0 Rename dsmr integration to be more generic (#121968) 2024-07-16 11:15:17 +02:00
Stefan AgnerandPaulus Schoutsen 234870538d Prevent removal of complete bridge when removing a device from Matter (#121987)
* Prevent removal of complete bridge when removing a device from Matter

Currently, when a device is removed from Matter, the complete bridge is
being removed. This might not be the user intention. Bridged devices
themselves can't be deleted really, as they are still part of the
bridge.

Ideally, this should be fixed in the UI (remove the Delete button in
this case). But as a workaround, we can prevent the removal of the
complete bridge by disallowing to remove the bridged device itself.

This also improves deleting when the bridge is already removed from
the Server through some other means: In this case, we delete all devices
at once.

* Update homeassistant/components/matter/__init__.py

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-07-16 10:19:55 +02:00
Franck Nijhof 2f0870a063 Adjust issue description in automations fix flow (#122007) 2024-07-16 09:27:54 +02:00
J. Nick Koston 2160f981c2 Convert mopeka to use entry.runtime_data (#121973) 2024-07-16 09:02:32 +02:00
J. Nick Koston e01c605d04 Bump uiprotect to 5.3.0 (#122005) 2024-07-16 09:01:45 +02:00
Joost Lekkerkerker d81f6fa8f2 Make filter a helper (#121994) 2024-07-16 08:47:46 +02:00
J. Nick Koston d0233d01da Bump govee-ble to 0.33.0 (#122004) 2024-07-16 08:37:33 +02:00
Björn Ebbinghaus 2723ab3b27 Add mac address as connection for matter device (#121257) 2024-07-16 00:54:16 +02:00
Maciej BieniekandMaciej 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
Michael 190f12cead Bump python-homeassistant-analytics to 0.7.0 (#121992)
bump python-homeassistant-analytics to 0.7.0
2024-07-15 21:08:00 +02:00
Joost Lekkerkerker 026538b6dc Disable concord232 integration (#121974)
* Disable concord232 integration

* Fix
2024-07-15 20:54:07 +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
Joost Lekkerkerker 74f04a1ede Move licenses to right list (#121986) 2024-07-15 20:06:52 +02:00
J. Nick Koston 33cb674a4b Bump yalexs to 6.4.3 (#121984) 2024-07-15 19:35:52 +02:00
Joost Lekkerkerker d7e33429e3 Disable MVG integration (#121975)
Disable MVGLive integration
2024-07-15 17:51:41 +02:00
Joost Lekkerkerker 77f10a23b0 Make Bayesian a helper (#121976) 2024-07-15 16:53:21 +02:00
Joost Lekkerkerker c6a0c20c64 Disable Dovado integration (#121871) 2024-07-15 10:22:01 +02:00
Richard KroegelandRichard 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
mvn23 894f3fe439 Fix opentherm_gw availability (#121892) 2024-07-15 09:20:32 +02:00
Scott K Logan df00e1a65b Fix rainforest_raven closing device due to timeout (#121905) 2024-07-15 09:10:50 +02:00
Tomasz Gorochowik ef7a84d3f4 Fix enigma2 mute (#121928) 2024-07-15 09:09:19 +02:00
Sid 3b95e88ff7 Bump ruff to 0.5.2 (#121946) 2024-07-15 09:00:48 +02:00
dependabot[bot] 6109b9206c Bump github/codeql-action from 3.25.11 to 3.25.12 (#121963)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 08:57:39 +02:00
Maciej BieniekandMaciej 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
Álvaro Fernández Rojas 9f53d0ccd9 Rename Airzone system_zone_id to system_id (#121931) 2024-07-15 01:39:59 +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 73b836df55 Use dispatcher for doorbird event entities (#121825)
* Use dispatcher for doorbird event entities

https://github.com/home-assistant/core/pull/121114#discussion_r1668171539

* Update homeassistant/components/doorbird/view.py
2024-07-14 23:25:04 +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 1d62f0e380 Bump ZHA lib to 0.0.23 (#121900) 2024-07-14 03:59:29 +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 3ecc0844e4.

* 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 BieniekandMaciej 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
J. Nick Koston 62613af033 Migrate hunterdouglas_powerview to use entry.runtime_data (#121887) 2024-07-13 12:38:47 +02: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
Jordi 662760360a Bump aioaquacell to 0.2.0 (#121876) 2024-07-13 10:04:51 +02:00
J. Nick Koston 9e259cbf2d Remove unused code in doorbird (#121884) 2024-07-12 22:39:58 -07: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
J. Nick Koston 8a52ffb967 Use a listcomp for more history results (#121830) 2024-07-12 16:10:21 +02:00
Marcel Vriend 156e92a4cd Fix too verbose HTTP logging for Azure Data Explorer (#121802) 2024-07-12 16:09:44 +02:00