Commit Graph

74242 Commits (44abe329a23c353f15cf8414e167819f891e46cc)

Author SHA1 Message Date
Arie Catsman 44abe329a2
Enphase Envoy refactor and extend diagnostics (#109080)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-09 11:03:07 -10:00
Jan Bouwhuis 3b0ea52167
Allow Just-in-Time platform setup for mqtt (#112720)
* Allow Just-in-Time platform setup for mqtt

* Only forward the setup of new platforms

* Fix new  platforms being setup at reload + test

* Revert not related changes

* Remove unused partial

* Address comments, only import plaforms if needed

* Apply suggestions from code review

* Add multipl platform discovery test

* Improve test

* Use a lock per platform
2024-03-09 21:55:00 +01:00
J. Nick Koston d0d1af8991
Improve performance of image streams (#112810) 2024-03-09 10:26:48 -10:00
Jeffrey Stone 2a6de1c335
Bump mastodon.py version to 1.8.1 (#112728)
bump mastodon.py version to 1.8.1
2024-03-09 21:20:11 +01:00
Lex Li 9974af39ac
Upgrade `pysnmp-lextudio` to version `6.0.9` (#112795) 2024-03-09 09:51:08 -10:00
Joost Lekkerkerker 033dd35655
Add icon translations to Yeelight (#112363)
* Add icon translations to Yeelight

* Add icon translations to Yeelight
2024-03-09 20:48:21 +01:00
Robert Svensson 020b656f51
Split out Axis config data (#112825)
Split out config data
2024-03-09 13:00:25 -05:00
Robert Svensson 03e4a20cdf
Rename get_deconz_session to get_deconz_api (#112826)
Move and rename get_deconz_session to get_deconz_api
2024-03-09 18:32:31 +01:00
J. Nick Koston 9ba142f4dd
Use eager_start for discovery listeners (#112803)
Many platforms can be loaded without having to suspend or
be scheduled on the event loop
2024-03-09 11:07:15 -05:00
Joost Lekkerkerker 378806f1fa
Remove entity description mixin in AVM Fritz!Tools (#112767) 2024-03-09 16:38:44 +01:00
Joost Lekkerkerker 2b2f7d1193
Remove entity description mixin in Geocaching (#112770) 2024-03-09 10:07:10 -05:00
Joost Lekkerkerker 6e1981c43c
Remove entity description mixin in Honeywell (#112776) 2024-03-09 10:06:27 -05:00
Joost Lekkerkerker 24b7f03e31
Remove entity description mixin in idasen desk (#112780) 2024-03-09 10:05:07 -05:00
Joost Lekkerkerker 6f03c305d4
Remove entity description mixin in Google wifi (#112774) 2024-03-09 10:03:30 -05:00
Joost Lekkerkerker b0f0bc6c5c
Remove entity description mixin in Environment Canada (#112763) 2024-03-09 10:02:45 -05:00
Joost Lekkerkerker 06637c0960
Remove entity description mixin in EZVIZ (#112764) 2024-03-09 10:01:45 -05:00
Joost Lekkerkerker bfd7582825
Remove entity description mixin in Glances (#112772) 2024-03-09 10:00:31 -05:00
jan iversen 59083b4e82
Remove deprecated retry_on_empty from modbus (#112822)
Remove deprecated retry_on_empty.
2024-03-09 13:59:09 +01:00
Ville Skyttä 40aaba6b1d
Remove outdated prettier and yamllint `azure-*.yml` ignores (#112819) 2024-03-09 14:44:05 +02:00
Joost Lekkerkerker fed40a89ca
Remove entity description mixin in Huawei LTE (#112777) 2024-03-09 14:41:08 +02:00
jan iversen 797983236f
Remove deprecated CLOSE_COMM_ON_ERROR from modbus (#112821) 2024-03-09 13:24:06 +01:00
Jan Bouwhuis 6534943837
Revert "Cleanup mqtt discovery code" (#112818)
Revert "Cleanup mqtt discovery code (#112749)"

This reverts commit 87318c9111.
2024-03-09 12:54:10 +01:00
jan iversen fca3ac9903
Update modbus test to include a dummy sensor (#112820) 2024-03-09 12:19:57 +01:00
Jan Bouwhuis 87318c9111
Cleanup mqtt discovery code (#112749)
* Cleanup mqtt discovery code

* Cleanup mqtt discovery code
2024-03-09 11:54:27 +01:00
Robert Svensson a2180b16c3
Move wireless clients into entity_loader (#112813) 2024-03-09 11:30:01 +01:00
Joost Lekkerkerker b26f00bf39
Remove entity description mixin in Goodwe (#112773) 2024-03-09 11:00:36 +01:00
Joost Lekkerkerker 3301117223
Remove entity description mixin in Jellyfin (#112782) 2024-03-09 11:00:23 +01:00
Robert Svensson 8b2759d810
Move restoring inactive clients method into UniFi entity loader (#112805)
* Move restoring inactive clients method into UniFi entity loader

* Use an initialize method in entity_loader
2024-03-09 10:52:59 +01:00
Robert Svensson bf5537eb5a
Give the UniFi integration better control over what data to load (#112804) 2024-03-09 10:35:25 +01:00
J. Nick Koston 2b0b3c238a
Make SSDP tasks background HassJob to avoid delaying startup (#112668) 2024-03-08 23:11:00 -10:00
J. Nick Koston b7d9f26cee
Cache the job type for entity service calls (#112793) 2024-03-08 22:49:08 -10:00
Robert Svensson 19e54debba
Unifi more polish on entity description (#112281)
* Make has_entity_name default value True

* Remove previously missed event_is_on and event_to_subscribe

* Provide default value for allowed_fn and supported_fn

* Provide default value for name_fn

* Provide default value for available_fn

* Add doc strings to required functions

* Fix some missed renames from variations of controller to hub
2024-03-09 09:19:38 +01:00
Robert Svensson f2879e6f39
Break out UniFi platform registration to its own class (#112514) 2024-03-09 09:18:23 +01:00
J. Nick Koston 9ca9d7f48f
Use eager_start for tasks to register integration platforms (#112800) 2024-03-08 22:10:57 -10:00
J. Nick Koston b591bb43f5
Use eager_start for homeassistant triggers (#112801) 2024-03-08 22:10:44 -10:00
jan iversen 693f72eff1
Issue warning modbus configuration when modbus configuration is empty (#112618) 2024-03-09 08:49:11 +01:00
Marc Mueller 6a2f7a6347
Use Mapping as default for Event data (#112769) 2024-03-09 07:37:59 +01:00
J. Nick Koston a50883d975
Run service call tasks eagerly (#112791) 2024-03-08 20:37:21 -10:00
J. Nick Koston 6a7c255b93
Improve entity translation typing (#112788)
* Improve entity translation typing

* Improve entity translation typing
2024-03-08 22:30:13 -05:00
J. Nick Koston a66399ad3d
Add Event typing to websocket_api for entity subscriptions (#112786) 2024-03-08 22:29:46 -05:00
Shay Levy ed3ec85e55
Bump bthome-ble to 3.7.0 (#112783) 2024-03-08 22:28:56 -05:00
Allen Porter 2789060bbe
Fix local calendar handling of empty recurrence ids (#112745)
* Fix handling of empty recurrence ids

* Revert logging changes
2024-03-08 22:28:04 -05:00
Aaron Bach 3405bda835
Make sure Notion saves new refresh token upon startup (#112676)
* Make sure Notion saves new refresh token upon startup

* Code review

* Typing

* Smoother syntax

* Fix tests

* Fix tests for real
2024-03-08 22:27:56 -05:00
J. Nick Koston 5b2a24b1bb
Fix race reloading homekit_controller (#112790)
If the subscribe task was still running during the reload we
would not cancel it. Make it a config entry task so it gets
cancelled at unload
2024-03-08 22:27:08 -05:00
J. Nick Koston 65358c129a
Replace periodic tasks with background tasks (#112726)
* Phase out periodic tasks

* false by default or some tests will block forever, will need to fix each one manually

* kwarg works

* kwarg works

* kwarg works

* fixes

* fix more tests

* fix more tests

* fix lifx

* opensky

* pvpc_hourly_pricing

* adjust more

* adjust more

* smarttub

* adjust more

* adjust more

* adjust more

* adjust more

* adjust

* no eager executor

* zha

* qnap_qsw

* fix more

* fix fix

* docs

* its a wrapper now

* add more coverage

* coverage

* cover all combos

* more fixes

* more fixes

* more fixes

* remaining issues are legit bugs in tests

* make tplink test more predictable

* more fixes

* feedreader

* grind out some more

* make test race safe

* one more
2024-03-08 21:45:10 -05:00
J. Nick Koston 08416974c9
Avoid trying to load translations for integrations that have none (#112683) 2024-03-08 14:21:44 -10:00
Joost Lekkerkerker cf5b11576b
Remove entity description mixin in iBeacon (#112779) 2024-03-09 00:04:52 +01:00
Joost Lekkerkerker bfd9199ad9
Remove entity description mixin in HomeKit Device (#112775) 2024-03-08 23:29:02 +01:00
Joost Lekkerkerker 6671a84661
Remove entity description mixin in Flume (#112765) 2024-03-08 23:28:14 +01:00
Joost Lekkerkerker 945710874b
Remove entity description mixin in Fully Kiosk (#112768) 2024-03-08 23:09:17 +01:00