Commit graph

80986 commits

Author SHA1 Message Date
J. Nick Koston
5503379a3b
Fix performance regression in integration from state_reported (#120621)
* Fix performance regression in integration from state_reported

Because the callbacks were no longer indexed by entity id, users
saw upwards of 1M calls/min

https://github.com/home-assistant/core/pull/113869/files#r1655580523

* Update homeassistant/helpers/event.py

* coverage

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-06-27 08:50:41 +02:00
dougiteixeira
617ab48fa9
Address device helper review comments (#120615)
* Address review comments from #119761

* Address review comments from #119761

* Address review comments from #119761

* Remove reference from config entry
2024-06-27 08:50:20 +02:00
epenet
28e72753ad
Prevent importing PLATFORM_SCHEMA/_BASE from config validation (#120571) 2024-06-27 06:31:22 +02:00
J. Nick Koston
a5a631148e
Add async_track_state_reported_event to fix integration performance regression (#120622)
split from https://github.com/home-assistant/core/pull/120621
2024-06-26 23:04:27 -04:00
J. Nick Koston
f189d87fe9
Bump uiprotect to 4.0.0 (#120617) 2024-06-26 20:37:28 -05:00
J. Nick Koston
5e1c8b0c54
Remove unused fields from unifiprotect event sensors (#120568) 2024-06-26 20:37:08 -05:00
Luke Lashley
2449e2029e
Bump anova_wifi to 0.14.0 (#120616) 2024-06-27 01:14:18 +02:00
Jan Bouwhuis
32e64f7911
Cleanup mqtt platform tests part 4 (init) (#120574) 2024-06-26 16:57:41 -05:00
Franck Nijhof
3da8d0a741
Bump version to 2024.7.0b2 2024-06-26 23:55:20 +02:00
Paul Bottein
0701b0daa9
Update frontend to 20240626.2 (#120614) 2024-06-26 23:55:11 +02:00
Luca Angemi
bea6fe30b8
Fix telegram bot thread_id key error (#120613) 2024-06-26 23:55:08 +02:00
Paul Bottein
b7a65d9a82
Update frontend to 20240626.2 (#120614) 2024-06-26 23:54:07 +02:00
Marc Mueller
9d7078e1fa
Install libturbojpeg in hassfest job [ci] (#120611) 2024-06-26 23:52:31 +02:00
Luca Angemi
1973c604b6
Fix telegram bot thread_id key error (#120613) 2024-06-26 23:45:47 +02:00
Franck Nijhof
7d5d81b229
Bump version to 2024.7.0b1 2024-06-26 22:51:27 +02:00
Franck Nijhof
242b3fa609
Update adguardhome to 0.7.0 (#120605) 2024-06-26 22:48:39 +02:00
Marc Mueller
74204e2ee6
Fix mqtt test fixture usage (#120602) 2024-06-26 22:47:52 +02:00
Jan Bouwhuis
da01635a07
Prevent changes to mutable bmw_connected_drive fixture data (#120600) 2024-06-26 22:47:32 +02:00
Shay Levy
b5c34808e6
Add last_error reporting to Shelly diagnostics (#120595) 2024-06-26 22:47:09 +02:00
Erik Montnemery
80e70993c8
Remove deprecated run_immediately flag from integration sensor (#120593) 2024-06-26 22:46:50 +02:00
Max
2e01e169ef
Correct deprecation warning async_register_static_paths (#120592) 2024-06-26 22:46:30 +02:00
Markus Jacobsen
b35442ed2d
Improve Bang & Olufsen error messages (#120587)
* Convert logger messages to raised errors where applicable

* Modify exception types

* Improve deezer / tidal error message

* Update homeassistant/components/bang_olufsen/strings.json

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* Update homeassistant/components/bang_olufsen/media_player.py

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2024-06-26 22:46:27 +02:00
Michael Hansen
1b45069620
Bump intents to 2024.6.26 (#120584)
Bump intents
2024-06-26 22:46:23 +02:00
Shay Levy
d3d0e05817
Change Shelly connect task log message level to error (#120582) 2024-06-26 22:46:20 +02:00
TheJulianJES
3d164c6721
Bump ZHA dependencies (#120581) 2024-06-26 22:46:17 +02:00
Florian
6dd1e09354
Don't allow switch toggle when device in locked in AVM FRITZ!SmartHome (#120132)
* fix: set state of the FritzBox-Switch to disabled if the option for manuel switching in the userinterface is disabled

* feat: raise an error instead of disabling switch

* feat: rename method signature

* fix: tests

* fix: wrong import

* feat: Update homeassistant/components/fritzbox/strings.json

Update error message

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* Update tests/components/fritzbox/test_switch.py

feat: update test

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* make ruff happy

* fix expected error message check

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2024-06-26 22:46:13 +02:00
Shay Levy
ba456f2564
Align Shelly sleeping devices timeout with non-sleeping (#118969) 2024-06-26 22:46:06 +02:00
Marc Mueller
6bceb8ec48
Add some more VolDictType annotations (#120610) 2024-06-26 22:44:43 +02:00
Marc Mueller
fcfb580f0c
Update pylint to 3.2.4 (#120606) 2024-06-26 22:29:55 +02:00
Franck Nijhof
516b9126b7
Update adguardhome to 0.7.0 (#120605) 2024-06-26 22:05:30 +02:00
Markus Jacobsen
2146a4729b
Improve Bang & Olufsen error messages (#120587)
* Convert logger messages to raised errors where applicable

* Modify exception types

* Improve deezer / tidal error message

* Update homeassistant/components/bang_olufsen/strings.json

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* Update homeassistant/components/bang_olufsen/media_player.py

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2024-06-26 21:46:59 +02:00
Florian
9b2915efed
Don't allow switch toggle when device in locked in AVM FRITZ!SmartHome (#120132)
* fix: set state of the FritzBox-Switch to disabled if the option for manuel switching in the userinterface is disabled

* feat: raise an error instead of disabling switch

* feat: rename method signature

* fix: tests

* fix: wrong import

* feat: Update homeassistant/components/fritzbox/strings.json

Update error message

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* Update tests/components/fritzbox/test_switch.py

feat: update test

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* make ruff happy

* fix expected error message check

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2024-06-26 21:45:17 +02:00
Marc Mueller
dd6cc82f70
Fix mqtt test fixture usage (#120602) 2024-06-26 21:30:30 +02:00
Jan Bouwhuis
8839a71adc
Prevent changes to mutable bmw_connected_drive fixture data (#120600) 2024-06-26 20:57:27 +02:00
Erik Montnemery
f1a57d69cc
Remove deprecated run_immediately flag from integration sensor (#120593) 2024-06-26 20:55:41 +02:00
Max
702d53ca30
Correct deprecation warning async_register_static_paths (#120592) 2024-06-26 20:55:25 +02:00
Shay Levy
4c6cbadc11
Align Shelly sleeping devices timeout with non-sleeping (#118969) 2024-06-26 20:53:02 +02:00
Shay Levy
d8ab2debfd
Add last_error reporting to Shelly diagnostics (#120595) 2024-06-26 21:35:23 +03:00
Robert Resch
31e9de3b95
Adapt Roborock to runtime_data (#120578)
* Adopt Roborock to runtime_data

* Fix name
2024-06-26 19:42:15 +02:00
Shay Levy
ed1eb8ac9c
Change Shelly connect task log message level to error (#120582) 2024-06-26 18:19:28 +02:00
TheJulianJES
d09a274548
Bump ZHA dependencies (#120581) 2024-06-26 18:15:53 +02:00
Michael Hansen
02b142fbde
Bump intents to 2024.6.26 (#120584)
Bump intents
2024-06-26 11:13:01 -05:00
Franck Nijhof
33b4f40b2a
Bump version to 2024.8.0dev0 (#120577) 2024-06-26 16:55:08 +02:00
Franck Nijhof
3492171ff8
Bump version to 2024.7.0b0 2024-06-26 16:17:57 +02:00
Gerben Jongerius
f5c640ee5b
Add additional tests to youless integration (#118869) 2024-06-26 16:11:21 +02:00
epenet
713abf4c6b
Refactor PLATFORM_SCHEMA imports in tests (#120566) 2024-06-26 16:09:20 +02:00
Bouwe Westerdijk
32c07180f6
Delete removed device(s) at runtime in Plugwise (#120296) 2024-06-26 16:08:32 +02:00
Mr. Bubbles
55101fcc45
Add platinum scale to pyLoad integration (#120542)
Add platinum scale
2024-06-26 16:06:55 +02:00
G Johansson
3d5d4f8ddb
Add config flow to statistics (#120496) 2024-06-26 16:06:35 +02:00
treetip
30a3e9af2b
Add profile duration sensor for Vallox integration (#120240) 2024-06-26 15:54:13 +02:00