Åke Strandberg
f95d649f44
Add icon translations to myuplink ( #111466 )
2024-03-15 00:47:10 +01:00
jan iversen
7cba34b2e6
Change modbus integration to use async library calls ( #113450 )
2024-03-14 23:19:52 +01:00
Franck Nijhof
221893c1d7
Add aliases support to floor registry WebSocket API ( #113401 )
2024-03-14 23:07:07 +01:00
Jan Bouwhuis
3ed7a7166d
Revert "Remove unused test helper mock_area_registry" ( #113453 )
2024-03-14 22:11:44 +01:00
Christopher Bailey
1ada10299a
Check for EA release channel for UniFi Protect ( #113432 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-14 09:07:54 -10:00
J. Nick Koston
5512e8b789
Deprecate async_run_job and async_add_job ( #113260 )
2024-03-14 09:06:55 -10:00
J. Nick Koston
aaac879c83
Fix calling sync api in counter/ffmpeg/device_tracker tests ( #113441 )
2024-03-14 19:34:44 +01:00
Franck Nijhof
2aadd643ed
Add floors to service target ( #110850 )
2024-03-14 19:02:23 +01:00
Christopher Bailey
2bf6170a6b
Add UniFi Protect service to remove privacy zones ( #111292 )
2024-03-14 07:34:45 -10:00
Thomas55555
f1374503c3
Bump aioautomower to 2024.3.3 ( #113430 )
2024-03-14 17:51:24 +01:00
Erik Montnemery
a16ea3d7bd
Deprecate the map integration ( #113215 )
...
* Deprecate the map integration
* Revert changes in DashboardsCollection._async_load_data
* Add option to allow single word in dashboard URL
* Update tests
* Translate title
* Add icon
* Improve test coverage
2024-03-14 14:04:41 +01:00
Matthias Lohr
6a1913b372
Bump tololib to 1.1.0 ( #113268 )
...
* upgrade tololib dependency to v1.0.0
* use latest available patch version
* fixed tolo tests
* fixed test cases
2024-03-14 13:55:16 +01:00
Franck Nijhof
064f96f8fa
Add floor support to areas WebSocket API ( #113402 )
2024-03-14 12:55:31 +01:00
jan iversen
7696973932
Move modbus check_config to setup, to have access to hass ( #112828 )
2024-03-14 12:54:01 +01:00
Mike Degatano
5a25349cf7
Supervisor issues update retries on failure ( #113373 )
2024-03-14 10:55:04 +01:00
Mike Degatano
6d903300be
Apply suggestion failures fail supervisor repair ( #113372 )
2024-03-14 10:53:55 +01:00
J. Nick Koston
4341b21a61
Migrate auth to use async_import_module to avoid blocking I/O in the event loop ( #113387 )
2024-03-14 10:44:36 +01:00
Steven B
4aec48d358
Update ring integration imports ( #113397 )
...
Update ring imports for patching where library is created
2024-03-14 10:44:17 +01:00
Erik Montnemery
9eea786411
Remove old migration from lovelace ( #113388 )
2024-03-14 10:43:55 +01:00
Joost Lekkerkerker
7ae852e5ed
Enable ISC ruff rule ( #113270 )
2024-03-14 10:43:03 +01:00
Joost Lekkerkerker
05172d8e4d
Improve loops and lists ( #113269 )
...
* Enable PERF
* Enable PERF rule
* Enable PERF rule
* Don't enable flag yet
2024-03-14 10:22:20 +01:00
Chris Talkington
fe99d80054
Add diagnostics for IPP ( #113205 )
2024-03-14 00:44:07 -05:00
J. Nick Koston
c1f5c7c4b7
Remove usage of async_add_job in tests ( #113259 )
2024-03-13 19:33:33 -10:00
J. Nick Koston
cfe14bca8f
Add a helper to import modules from the event loop ( #113169 )
...
* Add a helper to import modules in the event loop
Replaces the one used for triggers with a more generic helper
that can be reused and uses a future to avoid importing concurrently
* Add a helper to import modules in the event loop
Replaces the one used for triggers with a more generic helper
that can be reused and uses a future to avoid importing concurrently
* coverage
* make sure we do not retry
* coverage
2024-03-14 00:26:33 -04:00
J. Nick Koston
9940f51b95
Avoid pre-importing config_flows if the integration does not support migration ( #113369 )
...
* Avoid pre-importing config_flows if the integration does support migration
Currently we pre-import the config flow module if it exists since
setting up the config entry required comparing the versions found
in the config_flow.py. We can avoid the pre-import if the integration
does not support async_migrate_entry which means we avoid loading
many config flows in memory at startup.
* cover
* fix missing block
* do not call directly
* its too fast now, the test gets more along
* Update homeassistant/loader.py
2024-03-14 00:13:40 -04:00
Robert Svensson
932e073fee
Split out deCONZ config model ( #112851 )
...
* Add separate deCONZ config class
* Use config in get_deconz_api
2024-03-13 22:49:49 +01:00
Joost Lekkerkerker
77917506bb
Improve lists in integrations [R-S] ( #113233 )
...
* Improve lists in integrations [R-S]
* Fix
* Fix
2024-03-13 21:55:00 +01:00
Joost Lekkerkerker
e6a692f354
Improve lists in integrations [N-O] ( #113231 )
2024-03-13 21:51:38 +01:00
Joost Lekkerkerker
595d07f1c6
Improve lists in integrations [L-M] ( #113227 )
...
* Improve lists in integrations [L-M]
* Update homeassistant/components/mailbox/__init__.py
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* Fix
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-03-13 21:28:21 +01:00
Jonny Bergdahl
64b42a3651
Fix Twitch auth token refresh ( #112833 )
...
* Fix for expired token
* Add auth token refresh.
* Eliminate extra auth call
* Fixed mock client
---------
Co-authored-by: Jonny Bergdahl <bergdahl@users.noreply.github.com>
2024-03-13 20:16:00 +01:00
Joost Lekkerkerker
a136638719
Rework Melissa tests ( #113241 )
2024-03-13 19:54:52 +01:00
Joost Lekkerkerker
49fc59548a
Improve lists in integrations [V-W] ( #113252 )
2024-03-13 19:38:04 +01:00
Joost Lekkerkerker
b34302e51b
Add icon translations to Roku ( #112214 )
...
* Add icon translations to Roku
* Add icon translations to Roku
* Fix
* Fix
2024-03-13 19:06:16 +01:00
Em
7c4747bb02
Parameterize some tests in generic_thermostat ( #105643 )
...
* test(generic_thermostat): parameterize some tests
* refactor: improvements following review
2024-03-13 18:23:52 +01:00
Joost Lekkerkerker
96cebdf096
Improve lists in integrations [T-U] ( #113243 )
2024-03-13 17:54:46 +01:00
Joost Lekkerkerker
761933acfe
Improve lists in integrations [G-H] ( #113168 )
2024-03-13 17:25:27 +01:00
Jan-Philipp Benecke
d4ae4a9cd0
Deprecate `homeassistant.components.is_on` function ( #111891 )
2024-03-13 17:21:00 +01:00
Joost Lekkerkerker
7e0aac3feb
Improve lists in integrations [I-K] ( #113221 )
2024-03-13 16:56:33 +01:00
Diogo Gomes
669dd36daf
Add diagnostics platform to IPMA ( #105697 )
2024-03-13 12:07:28 +01:00
J. Nick Koston
a65908becc
Migrate harmony to use async_run_hass_job ( #113178 )
2024-03-13 12:02:07 +01:00
J. Nick Koston
bbef3f7f68
Only extract traceback once in system_log ( #113201 )
2024-03-13 11:58:34 +01:00
Stefan Agner
99eaa07f6f
Add message from Bad Request errors to HassioAPIError ( #113144 )
...
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2024-03-13 11:29:39 +01:00
J. Nick Koston
d6f1405874
Migrate one time listeners to use async_run_hass_job ( #113179 )
2024-03-13 11:06:30 +01:00
Jan Bouwhuis
488dae43d4
Improve lists for MQTT integration ( #113184 )
...
* Improve lists for MQTT integration
* Extra diagnostics tests
* Revert changes where the original version was probably faster
* Revert change to gather and await in series
2024-03-13 11:04:59 +01:00
Jesse Hills
3d7d3d263d
ESPHome: Add Date Entity support ( #112475 )
...
* ESPHome: Add Date Entity support
* Formatting
* Add missing state test
2024-03-13 08:02:52 +01:00
Jesse Hills
a2a8a8f119
ESPHome: Catch and re-raise client library errors as HomeAssistantErrors ( #113026 )
2024-03-12 18:06:25 -10:00
Ståle Storø Hauknes
d2bd68ba30
Bump airthings_ble to 0.7.1 ( #113172 )
...
Co-authored-by: Ståle Storø Hauknes <LaStrada@users.noreply.github.com>
2024-03-12 15:48:36 -10:00
TheJulianJES
9ec0e097ef
Remove ZHA IasZone sensor migration ( #111893 )
2024-03-12 18:18:20 -04:00
J. Nick Koston
1cceaaf193
Small improvement to test run time ( #113175 )
2024-03-12 23:01:39 +01:00
On Freund
b9837a561b
Use friendly name for camera media source ( #110882 )
2024-03-12 21:20:14 +01:00
Pete Sage
46ce438b6d
Sonos reduce test time ( #111688 )
2024-03-12 21:14:27 +01:00
Brett Adams
1dc3582778
Add icons to Teslemetry ( #112546 )
2024-03-12 21:06:09 +01:00
Robert Svensson
c761b825ec
Fix Axis unique ID ( #112132 )
2024-03-12 21:01:20 +01:00
Erik Montnemery
2cdf6b9937
Add binary_sensor to homeworks ( #112418 )
...
* Add binary_sensor to homeworks
* Update tests
2024-03-12 19:25:27 +01:00
Joost Lekkerkerker
f9b2c35418
Add icon translations to Lametric ( #111854 )
2024-03-12 18:52:58 +01:00
J. Nick Koston
c948392ebc
Make Bluetooth active coordinator debouncers run tasks in the background ( #113129 )
2024-03-12 07:43:43 -10:00
Scott K Logan
eb81599400
Fix some handle leaks in rainforest_raven ( #113035 )
...
There were leaks when
* The component was shutdown
* There was a timeout during the initial device opening
Additionally, the device was not closed/reopened when there was a
timeout reading regular data.
2024-03-12 12:43:25 -04:00
Maciej Bieniek
f01095fb66
Fix availability for GIOS index sensors ( #113021 )
...
* Fix availability for index sensors
* Improve test_availability()
---------
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-03-12 12:41:16 -04:00
Steven Looman
cd4e8707ea
Improve discovering upnp/igd device by always using the SSDP-discovery for the Unique Device Name ( #111487 )
...
* Always use the UDN found in the SSDP discovery, instead of the device description
* Ensure existing DeviceEntries are still matched
2024-03-12 12:38:09 -04:00
Jan-Philipp Benecke
3b1ab6436d
Remove deprecated `hass.components` usage in service tests ( #111883 )
2024-03-12 17:27:44 +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
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
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
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
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
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
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
6e59d1cb29
Migrate homekit to use async_at_started ( #113102 )
2024-03-11 20:08:02 -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
6ff8d7d2b9
Make sonos ssdp discovery callback a callback function ( #113107 )
2024-03-11 13:50:04 -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
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
Paulus Schoutsen
145657dc21
Only load services.yaml for integrations that have it ( #112732 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-11 19:05:32 +01:00
Joost Lekkerkerker
c75342bd9a
Improve lists in integrations [C-D] ( #113072 )
2024-03-11 18:58:35 +01:00
Joost Lekkerkerker
690ba103ed
Improve lists in integrations [A] ( #113006 )
...
* Use list comprehension [A]
* Use list comprehension [A]
* Update homeassistant/components/aws/notify.py
2024-03-11 16:17:44 +01:00
Joost Lekkerkerker
bf40b33117
Remove fixtures from global fixtures folder ( #113060 )
...
Remove fixtures
2024-03-11 10:19:54 -04:00
J. Nick Koston
d939c48b4a
Fix here_travel_time creating many refresh requests at startup ( #113041 )
2024-03-11 15:11:33 +01:00
Marcel van der Veldt
0eb1adccf8
Fix for Hue not applying effect in scene ( #113057 )
2024-03-11 15:08:00 +01:00
Joost Lekkerkerker
2792a5f016
Enable even more SIM ruff rules ( #113017 )
...
* SIM202 SIM211 SIM220 SIM221 SIM222 SIM223
* SIM910 SIM911
* SIM
* Update homeassistant/components/mqtt/siren.py
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* Update homeassistant/components/mqtt/siren.py
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-03-11 14:23:52 +01:00
Steven B
48cb09a4a8
Prepare ring update service for deprecation ( #108781 )
...
* Prepare ring update service for deprecation
* Update service removal release number
2024-03-11 13:42:52 +01:00
Joost Lekkerkerker
f8d1232598
Move HomematicIP Cloud fixture to integration test ( #112987 )
...
* Move HomematicIP Cloud fixture to integration test
* Update tests/components/homematicip_cloud/helper.py
* Update tests/components/homematicip_cloud/helper.py
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-03-11 13:26:44 +01:00
Shai Ungar
3c06fbbd82
Add ConfigFlow for seventeentrack integration ( #111196 )
...
* Add config flow to 17Track
* Import config from configuration.yaml
* 1. move import to async_setup_platform
2. add USERNAME (email) in title for uniqueness
* Add options flow
* Add tests
* Add CONF_SHOW_ARCHIVED and CONF_SHOW_DELIVERED to data from options
* Update homeassistant/components/seventeentrack/__init__.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/seventeentrack/__init__.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/seventeentrack/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/seventeentrack/manifest.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/seventeentrack/config_flow.py
Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>
* Update homeassistant/components/seventeentrack/__init__.py
Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>
* Update homeassistant/components/seventeentrack/sensor.py
Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>
* 1. Added repair issues
2. _async_validate_input inlined
3. added unique id
4. take default scan interval
* fix
* 1. move async_create_issue to async_setup_platform
2. fix tests
3. black + pylint
* combine USER_SCHEMA and OPTIONS_SCHEMA
* small fix
* remove async_setup
* fix tests and add 100% coverage
* 1. remove CONFIG_SCHEMA
2. remove error log
3. add issue with more description when import issues happen
4. some linting
* Update homeassistant/components/seventeentrack/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/seventeentrack/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/seventeentrack/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/seventeentrack/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* use freezer
use AsyncMock
fix tests
* add test_flow_fails
parametrize tests where needed
test_import_flow_already_configured - where a unique id already configured (abort flow)
* lint
* fix rebase issues
* some more fix
* 17Track revert tests and put them in a different PR
* adapt tests to MockConfigEntry
* Update tests/components/seventeentrack/test_sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/seventeentrack/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/seventeentrack/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/seventeentrack/__init__.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* 1. create fixture for config and another with options
2. set options with default values
3. remove CONFIG_SCHEMA
* Update tests/components/seventeentrack/conftest.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update tests/components/seventeentrack/conftest.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* 1. get options from import data and default if not present
2. rename mock_config_entry_no_options -> mock_config_entry_with_default_options
* move ACCOUNT_ID to mock_seventeentrack_api.return_value.profile.account_id
* Apply suggestions from code review
* Update tests/components/seventeentrack/test_config_flow.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>
2024-03-11 12:47:39 +01:00
Marcel van der Veldt
a7a30581fc
Fix adding Hue bridge manually by IP ( #113055 )
2024-03-11 12:35:41 +01:00
Sid
c60aed3012
Bump webmin-xmlrpc to 0.0.2 ( #113004 )
2024-03-11 11:44:21 +01:00
Joost Lekkerkerker
3b0b729557
Remove YAML configuration from WAQI ( #113027 )
2024-03-11 11:41:49 +01:00
Joost Lekkerkerker
2349ce1abd
Move yandex transport fixture to integration test ( #112988 )
...
* Move yandex transport fixture to integration test
* Update tests/components/yandex_transport/test_sensor.py
* Ran ruff
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-03-11 11:28:30 +01:00
Brett Adams
6d440e36ad
Add tests for Aussie Broadband diagnostics ( #113049 )
...
* Add tests for diag
* Fix docstring
* Spelling
2024-03-11 10:54:12 +01:00
Simone Chemelli
4095de0566
Allow Shelly CoAP to honour default network adapter ( #110997 )
...
* Allow Shelly CoAP to honor default network adapter
* apply review comment
* 1 more debug log line
* adapt code to library changes
* test
* improve test
* one more test
2024-03-11 09:52:15 +01:00
J. Nick Koston
30c3174498
Fix CoreState in cloud google assistant tests ( #113045 )
2024-03-10 22:50:09 -10:00
J. Nick Koston
fd8ee6c857
Fix google assistant cloud sync test ( #113044 )
2024-03-10 22:44:21 -10:00
Yuxin Wang
405bf076b2
Remove a redundant check in APCUPSD's config flow ( #113032 )
...
Remove a redundant check that is impossible to happen in practice
2024-03-11 08:38:44 +01:00
Joost Lekkerkerker
b914ac3185
Move openhardwaremonitor fixture to integration tests ( #112982 )
...
* Move openhardwaremonitor fixture
* Update tests/components/openhardwaremonitor/test_sensor.py
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-03-11 08:30:22 +01:00
J. Nick Koston
3387892f59
Schedule tasks eagerly when called from hass.add_job ( #113014 )
2024-03-10 21:19:49 -10:00
Joost Lekkerkerker
cede16fc40
Move Feedreader fixture to integration test ( #112989 )
2024-03-10 23:27:38 -04:00
Joost Lekkerkerker
d528378f5d
Move london_air fixture to integration test ( #112991 )
...
* Move london_air fixture to integration test
* Fix
2024-03-10 23:27:20 -04:00
Joost Lekkerkerker
812bd4af65
Move metoffice fixture to integration test ( #112992 )
...
* Move metoffice fixture to integration test
* Fix
* Update tests/components/metoffice/test_config_flow.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Fix
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-03-10 23:27:00 -04:00
Joost Lekkerkerker
a78e389d9b
Move Microsoft face fixture to integration test ( #112993 )
...
* Move Microsoft face fixture to integration test
* Update tests/components/microsoft_face/test_init.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Fix
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-03-10 23:26:37 -04:00
Joost Lekkerkerker
cddce0ce0d
Enable more SIM ruff rules ( #113015 )
...
* SIM101 SIM103
* SIM107 SIM109
* SIM110
* SIM112 SIM113
* SIM115
* SIM116
* Fix
* Fix
* Fix
2024-03-10 23:20:37 -04:00
J. Nick Koston
7ea79148ba
Ignore logging events in zha websocket tests ( #113031 )
2024-03-10 13:13:26 -10:00
Yuxin Wang
db31afe019
Migrate APCUPSD to has entity name ( #112997 )
...
* Properly set entity names for APCUPSD
* Add test cases to prevent future regressions
* Fix tests due to the updated entity IDs
* Prettify code
* Remove redundant translation key
2024-03-10 23:56:25 +01:00
Thomas55555
9a647d9b17
Bump aioautomower to 2024.3.0 ( #112627 )
...
Fix error in Husqvarna automower in Zones dataclass
2024-03-10 23:10:27 +02:00
Joost Lekkerkerker
d9f6e4be24
Add icon translations to Husqvarna automower ( #111727 )
...
* Add icon translations to Husqvarna automower
* fix
2024-03-10 21:55:31 +01:00
Jan Bouwhuis
02ef7ba134
Remove not needed hass.async_block_till_done in test ( #113002 )
2024-03-10 09:46:25 -10:00
Joost Lekkerkerker
958c843512
Move OpenALPR cloud fixture to integration test ( #112994 )
2024-03-10 15:17:24 -04:00
Joost Lekkerkerker
d76c20a483
Move uk_transport fixture to integration test ( #112995 )
2024-03-10 15:17:06 -04:00
Joost Lekkerkerker
65e1502b50
Move wsdot fixture to integration test ( #112996 )
2024-03-10 15:12:29 -04:00
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