Jan-Philipp Benecke
3b1ab6436d
Remove deprecated `hass.components` usage in service tests ( #111883 )
2024-03-12 17:27:44 +01:00
Joost Lekkerkerker
70f3da93d4
Remove entity description mixin in Screenlogic ( #112935 )
...
* Remove entity description mixin in Screenlogic
* Fix
2024-03-12 16:10:04 +01:00
Steven B
5e530fc42e
Add motion detection enable/disable to ring camera platform ( #108789 )
...
* Add motion detection enable/disable to ring camera platform
* Write ha state directly
Co-authored-by: J. Nick Koston <nick@koston.org>
* Parametrize on off state tests
* Add tests for errors on setting motion detection
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-12 16:05:14 +01:00
Jan-Philipp Benecke
42574fe498
Remove deprecated `hass.components` usage in device_sun_light_trigger ( #111881 )
2024-03-12 14:04:42 +01:00
Joost Lekkerkerker
a8d1d90484
Bump yt-dlp to 2024.03.10 ( #109763 )
2024-03-12 13:57:19 +01:00
Michael Hansen
556855f54e
Add device_id to sentence trigger and external conversation APIs ( #113094 )
...
* Add device_id to sentence trigger and external conversation APIs
* Remove device_id from external API
* Update tests/components/conversation/snapshots/test_init.ambr
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-03-12 08:50:06 -04:00
J. Nick Koston
120525e94f
Add the ability to create Debouncer tasks as background tasks ( #113128 )
...
* Add the ability to Debouncer tasks in the background
This is a more general solution as a followup to
https://github.com/home-assistant/core/pull/112652#discussion_r1517159607
* Add the ability to Debouncer tasks in the background
This is a more general solution as a followup to
https://github.com/home-assistant/core/pull/112652#discussion_r1517159607
* fix
2024-03-12 08:41:12 -04:00
J. Nick Koston
b3dedb3efb
Convert sets to list before passing to the JSON serializer in the registries ( #113133 )
...
There were a few places we were missing the set to list
conversions in the registries. We do this before its
cached to avoid the JSON serializer having to fallback
to the default method every time since its expensive
to switch back from the native code into python context
for every set.
2024-03-12 08:38:21 -04:00
dependabot[bot]
46ab4bbf32
Bump Wandalen/wretry.action from 1.4.8 to 1.4.9 ( #113132 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 11:52:16 +01:00
Jevgeni Kiski
50ac3c8cfd
Update vallox_websocket_api to 5.1.1 ( #113139 )
...
Bump vallox-websocket-api==5.1.1
2024-03-12 11:32:42 +01:00
Josef Zweck
d929efbae0
Include pytedee_async logger in tedee integration ( #112590 )
...
add pytedee logger
2024-03-12 09:37:48 +01:00
Jan Bouwhuis
e28d4f0eae
Validate state_class with last_reset_value_template for mqtt sensors ( #113099 )
2024-03-12 09:08:03 +01:00
Jan Bouwhuis
012291a1f3
Fix google_asssistant sensor state reporting ( #112838 )
...
* Fix post google_assistant sensor values as float not string
* Fix aqi reporting and improve tests
* Fix _air_quality_description_for_aqi and test
2024-03-12 09:07:20 +01:00
Josef Zweck
433d3a5106
bump pytedee_async to 0.2.16 ( #113135 )
2024-03-12 08:55:21 +01:00
Erik Montnemery
d039bd654b
Add reconfigure flow to homeworks ( #112419 )
...
* Add reconfigure flow to homeworks
* Fix tests
* Use async_update_reload_and_abort helper
* Try to fix test shutdown
2024-03-12 08:47:44 +01:00
slyoldfox
6c35ae06a0
Add scheduled mode to renault charge mode ( #105967 )
...
Add scheduled to renault charge mode - fixes #105751
2024-03-12 08:34:21 +01:00
Thomas55555
4f4391bd09
Add missing device info to Husqvarna Automower ( #113090 )
...
* Add missing DeviceInfo to Husqvarna Automower
* add a test
* Adress review
* Update homeassistant/components/husqvarna_automower/entity.py
* fix url
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-03-12 08:25:35 +01:00
definitio
6f19744469
Add A6 family code for DS2438 1-Wire sensor ( #112844 )
...
* Add A6 family code for DS2438
* Add tests
* Fix switch
* Apply code review suggestion
* Add comments
2024-03-12 08:06:02 +01:00
J. Nick Koston
734a614eb8
Switch the reload helper to use async_get_component ( #113126 )
2024-03-11 16:17:07 -10:00
J. Nick Koston
52b2522be2
Import homeassistant trigger platforms in the executor ( #113124 )
2024-03-11 15:58:12 -10:00
J. Nick Koston
3f72fae60b
Migrate remaining call in check_config helper to use async_get_component ( #113123 )
2024-03-11 15:56:24 -10:00
J. Nick Koston
1949b9936b
Simplify automation startup logic ( #113122 )
2024-03-11 15:41:05 -10:00
J. Nick Koston
17b202d8cf
Await discovery_function in the DiscoveryFlowHandler instead of wrapping it in a task ( #113115 )
...
Await discovery_function in the DiscoveryFlowHandler instead of wrapping
This function was always a coro so it can be awaited
directly instead of wrapping it in add_job
2024-03-11 21:37:03 -04:00
J. Nick Koston
ebd17687e0
Remove unnecessary use of async_add_job in openalpr_cloud ( #113116 )
2024-03-11 21:36:34 -04:00
J. Nick Koston
427de00524
Remove unnecessary use of async_run_job in script helper ( #113118 )
...
The function being passed to `async_run` was always a callback
2024-03-11 21:36:18 -04:00
J. Nick Koston
17209525cb
Add run_immediately to the zone core config update async_listen ( #113119 )
...
Calling async_update_config will never suspend but cannot be changed to a callback
function because it would break the collections api
2024-03-11 21:35:53 -04:00
J. Nick Koston
51f871227e
Attach template triggers at start eagerly ( #113120 )
...
This method calls async_initialize_triggers which is likely to never
suspend and the attach can avoid being scheduled on the event loop
2024-03-11 21:34:32 -04:00
J. Nick Koston
42527862e0
Migrate scene platform to use async_add_executor_job ( #113114 )
2024-03-11 15:01:30 -10:00
J. Nick Koston
e71398d1e0
Update timezone in supervisor in an eager task ( #113113 )
2024-03-11 14:45:58 -10:00
J. Nick Koston
1536a3981f
Use run_immediately for starting discovery at the started event ( #113112 )
2024-03-11 14:29:39 -10:00
J. Nick Koston
b87036eebe
Make restore state started a callback function ( #113110 )
2024-03-11 14:25:15 -10:00
J. Nick Koston
6e59d1cb29
Migrate homekit to use async_at_started ( #113102 )
2024-03-11 20:08:02 -04:00
J. Nick Koston
5dc44500c3
Make cast async_cast_discovered a callback function ( #113111 )
...
Nothing was being awaited here and this function
is never subclassed
2024-03-11 20:07:15 -04:00
J. Nick Koston
620433a79d
Run coroutines as eager tasks in async_run_hass_job ( #111683 )
...
* Run coroutines as eager tasks in async_run_hass_job
Note that this does not change async_add_hass_job
Do not merge this. For test run only
* 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
* limit first scope to triggers
* one more
* Start tasks eagerly in for async_at_start(ed)
A few of these can avoid being scheduled on the loop
during startup
* fix cloud
* Revert "fix cloud"
This reverts commit 5eb3ce695d
.
* fix test to do what start does
* flip flag
* flip flag
* Fix here_travel_time creating many refresh requests at startup
- Each entity would try to refresh the coordinator which
created many tasks. Move the refresh to a single
async_at_started
- The tests fired the EVENT_HOMEASSISTANT_START event
but the code used async_at_started which only worked
because the tests did not set CoreState to not_running
* fix azure
* remove kw
* remove kw
* rip
* cover
* more rips
* more rips
* more rips
2024-03-11 20:05:08 -04:00
J. Nick Koston
53c3e27ed9
Add support for run_immediately to async_listen_once ( #113020 )
2024-03-11 13:51:03 -10:00
J. Nick Koston
0c877339ca
Make sonos binary sensor entity creation callback functions ( #113109 )
2024-03-11 13:50:43 -10:00
J. Nick Koston
629a045c37
Make sonos household_coordinator setup a callback function ( #113108 )
2024-03-11 13:50:18 -10:00
J. Nick Koston
6ff8d7d2b9
Make sonos ssdp discovery callback a callback function ( #113107 )
2024-03-11 13:50:04 -10:00
Robert Svensson
487ae1786f
Bump axis to v54 ( #113091 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-11 19:41:33 -04:00
J. Nick Koston
281e3922a8
Reduce latency to populate initial HKC bluetooth device state ( #113103 )
2024-03-11 13:02:20 -10:00
J. Nick Koston
2061cedadb
Bump aiodhcpwatcher to 0.8.1 ( #113096 )
2024-03-11 12:01:06 -10:00
J. Nick Koston
77cdecf0f1
Migrate async_run_job to use eager_start for tasks ( #113011 )
2024-03-11 11:30:46 -10:00
Mike Woudenberg
52b69bcfde
Update Loqed helper for more logging ( #112646 )
...
Updates Loqed helper for more logging
2024-03-11 22:20:06 +01:00
Brett Adams
b5761a83c0
Fix location data in Teslemetry ( #112866 )
...
Fix location data in coordinator
2024-03-11 22:17:42 +01:00
J. Nick Koston
e29b012eba
Fix failing google diagnostics test ( #113095 )
2024-03-11 11:05:49 -10:00
J. Nick Koston
324266a4e6
Fix race in script stop that could cause async_stop to hang forever ( #113089 )
2024-03-11 10:48:11 -10:00
Steven B
eff0aac586
Ensure that the ring integration always raises HomeAssistantError for user actions ( #109893 )
...
* Wrap library exceptions in HomeAssistantErrors
* Remove commented
* Update post review
* Update post second review
2024-03-11 20:23:49 +01:00
J. Nick Koston
5e94858821
Migrate _async_when_setup to use eager_start ( #112872 )
...
This one does not make much difference, but its a lot
easier to do it now instead of in the future
2024-03-11 15:02:35 -04:00
J. Nick Koston
89c24b2f75
Migrate dispatcher to create tasks eagerly ( #112845 )
...
There were quite a few of these that never had to suspend.
2024-03-11 14:58:45 -04:00
J. Nick Koston
d7cc30fd2b
Start tasks eagerly in for async_at_start(ed) ( #112802 )
2024-03-11 08:46:11 -10:00