J. Nick Koston
afa69cca38
Import custom components in the executor by default ( #112177 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-03-10 08:41:33 -10:00
J. Nick Koston
a2318c26c9
Run debouncer tasks eagerly to avoid scheduling on the event loop ( #112789 )
2024-03-10 08:37:10 -10:00
Jan Bouwhuis
c608d1cb85
Fix mqtt platform setup race ( #112888 )
2024-03-10 08:36:17 -10:00
Shai Ungar
eb81bf1d49
Improve 17track tests ( #112734 )
...
* 17Track tests
* add 17Track sensor to coverage
* extract repeated code
* 1. _goto_future - call tick only once
2. change test name to reflect test
3. remove ifs from test
* remove undersocre from _goto_future
2024-03-10 18:57:28 +01:00
Ernst Klamer
e91a38eede
Add Locks to Xiaomi-BLE ( #111156 )
2024-03-09 22:29:48 -10:00
A Björck
e631224372
Bump yalexs to 2.0.0 ( #111706 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-09 22:11:10 -10:00
Robert Svensson
ffcbab1c20
Split out deCONZ hub ( #112854 )
...
* Rename DeconzGateway to DeconzHub
* Move gateway.py to hub/hub.py
2024-03-10 08:25:12 +01:00
J. Nick Koston
f1b5dcdd1b
Refactor handling of device updates in ESPHome ( #112864 )
2024-03-09 20:30:17 -10:00
J. Nick Koston
60bddc2861
Schedule coroutine functions eagerly when async_listen uses run_immediately ( #112846 )
...
We have a few places where we call async_listen with a callback so we can schedule
the coro eagerly. We can drop these in favor of setting run_immediately now.
2024-03-09 23:04:25 -05:00
Jan Bouwhuis
caaa03536b
Cleanup mqtt PLATFORMS constant and CI-test platform filters ( #112847 )
2024-03-09 23:48:54 +01:00
J. Nick Koston
23ebd80285
Schedule coroutines with eager_task from async_track_state_change_event ( #112807 )
2024-03-09 11:24:54 -10:00
J. Nick Koston
4882fed939
Avoid saving auth right after we load it during startup ( #112008 )
2024-03-09 11:03:22 -10:00
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
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
jan iversen
59083b4e82
Remove deprecated retry_on_empty from modbus ( #112822 )
...
Remove deprecated retry_on_empty.
2024-03-09 13:59:09 +01: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
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
f2879e6f39
Break out UniFi platform registration to its own class ( #112514 )
2024-03-09 09:18:23 +01:00
J. Nick Koston
a50883d975
Run service call tasks eagerly ( #112791 )
2024-03-08 20:37:21 -10: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
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
J. Nick Koston
af6f2a516e
Guard against db corruption when renaming entities ( #112718 )
2024-03-08 11:34:07 -10:00
Marc Mueller
cef20506dc
Replace EventType with Event [missing] ( #112753 )
2024-03-08 21:56:42 +01:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
puddly
55b2d1a00c
Disable updating ZHA coordinator path from discovery info ( #112415 )
...
* Never update the device path from config flows
* Bring coverage up to 100%
* Update tests/components/zha/test_config_flow.py
Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
---------
Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
2024-03-08 14:33:33 -05:00
Marc Mueller
959826c4b4
Update byte string formatting ( #112752 )
2024-03-08 20:32:40 +01:00
Sid
0e86f182cc
Add diagnostics to webmin ( #112543 )
2024-03-08 20:09:31 +01:00
Marc Mueller
b026b5d589
Replace EventType with Event [helpers] ( #112743 )
2024-03-08 19:41:50 +01:00
Marc Mueller
a6b842f818
Add empty line after module docstring (2) [other] ( #112738 )
2024-03-08 19:16:38 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
cb8c14496c
Use more f-strings [ruff] ( #112695 )
2024-03-08 18:44:42 +01:00
Marc Mueller
19ab3d6daf
Add empty line after module docstring [helpers + other] ( #112707 )
2024-03-08 10:36:11 -05:00
jan iversen
ea89fa6b1e
Allow duplicate names in different modbus entities ( #112701 )
...
Allow duplicate names in different entities.
2024-03-08 15:10:35 +01:00
Marc Mueller
1722e23df8
Add empty line after module docstring [tests l-p] ( #112710 )
2024-03-08 14:55:15 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Marc Mueller
c88b337600
Add empty line after module docstring [tests f-k] ( #112709 )
2024-03-08 14:50:04 +01:00
Marc Mueller
7d6251ca08
Add empty line after module docstring [tests q-s] ( #112711 )
2024-03-08 14:47:22 +01:00
Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] ( #112712 )
2024-03-08 14:44:56 +01:00
Marc Mueller
2d701d5a7d
Use aiohttp.AppKey for http cors keys ( #112658 )
2024-03-08 11:51:59 +01:00
Thomas55555
9ba5159ae2
Add reauthentication for husqvarna_automower ( #109930 )
...
* Add reauthentication for husqvarna_automower
* Remove unneded lines
* Don't extract token on reauth
* Update homeassistant/components/husqvarna_automower/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/husqvarna_automower/conftest.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Use helper
* Test if authentication is done with the right account
* switch to ConfigFlowResult
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-03-08 11:30:39 +01:00