Commit Graph

60303 Commits (4eee6267703c9287c893a58c2a2354cb56fc17a4)

Author SHA1 Message Date
Florent Thoumie 29b5ef31c1
Recreate iaqualink httpx client upon service exception (#89341) 2023-03-08 16:23:13 +01:00
Renat Sibgatulin 863f8b727d
Remove invalid device class in air-Q integration (#89329)
Remove device_class from sensors using inconsistent units
2023-03-08 16:23:09 +01:00
J. Nick Koston 83ed8cf689
Fix thread diagnostics loading blocking the event loop (#89307)
* Fix thread diagnostics loading blocking the event loop

* patch target
2023-03-08 16:23:06 +01:00
Tom Harris 52cd2f9429
Fix Insteon open issues with adding devices by address and missing events (#89305)
* Add missing events

* Bump dependancies

* Update for code review
2023-03-08 16:23:02 +01:00
puddly 74d3b2374b
Clean ZHA radio path with trailing whitespace (#89299)
* Clean config flow entries with trailing whitespace

* Rewrite the config entry at runtime, without upgrading

* Skip intermediate `data = config_entry.data` variable

* Perform a deepcopy to ensure the config entry will actually be updated
2023-03-08 16:22:58 +01:00
epenet f982af2412
Ignore DSL entities if SFR box is not adsl (#89291) 2023-03-08 16:22:53 +01:00
luar123 0b5ddd9cbf
Bump python-snapcast to 2.3.2 (#89259) 2023-03-08 16:22:49 +01:00
J. Nick Koston 8d1aa0132e
Make sql subqueries threadsafe (#89254)
* Make sql subqueries threadsafe

fixes #89224

* fix join outside of lambda

* move statement generation into a seperate function to make it easier to test

* add cache key tests

* no need to mock hass
2023-03-08 16:22:45 +01:00
J. Nick Koston d737b97c91
Bump sqlalchemy to 2.0.5post1 (#89253)
changelog: https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.5

mostly bugfixes for 2.x regressions
2023-03-08 16:22:41 +01:00
Marc Mueller 0fac12866d
Fix conditional check (#89231) 2023-03-08 16:22:38 +01:00
Bram Kragten e3fe71f76e
Update frontend to 20230306.0 (#89227) 2023-03-08 16:22:34 +01:00
J. Nick Koston eba1bfad51
Bump aioesphomeapi to 13.4.2 (#89210) 2023-03-08 16:22:30 +01:00
Franck Nijhof 1a0a385e03
Fix Tuya Python 3.11 compatibility issue (#89189) 2023-03-08 16:22:26 +01:00
MarkGodwin c9999cd08c
Fix host IP and scheme entry issues in TP-Link Omada (#89130)
Fixing host IP and scheme entry issues
2023-03-08 16:22:22 +01:00
rappenze 8252aeead2
Bump pyfibaro version to 0.6.9 (#89120) 2023-03-08 16:22:18 +01:00
J. Nick Koston c27a69ef85
Handle InnoDB deadlocks during migration (#89073)
* Handle slow InnoDB rollback when encountering duplicates during migration

fixes #89069

* adjust

* fix mock

* tests

* return on success
2023-03-08 16:22:15 +01:00
J. Nick Koston d4c28a1f4a
Cache transient templates compiles provided via api (#89065)
* Cache transient templates compiles provided via api

partially fixes #89047 (there is more going on here)

* add a bit more coverage just to be sure

* switch method

* Revert "switch method"

This reverts commit 0e9e1c8cbe.

* tweak

* hold hass

* empty for github flakey
2023-03-08 16:22:10 +01:00
Andrew Westrope 322eb4bd83
Check type key of zone exists in geniushub (#86798)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-08 16:22:05 +01:00
J. Nick Koston 4ce36366c3
Add names to the config entry setup and shutdown tasks (#89309)
* name the entry setup tasks

* name a few more tasks

* Update homeassistant/config_entries.py

* Update homeassistant/setup.py
2023-03-08 10:19:36 -05:00
epenet 3e2ee7cd11
Add missing mock in aemet config flow tests (#89360) 2023-03-08 10:18:44 -05:00
epenet 33906059d3
Add missing mock in airq config flow tests (#89364) 2023-03-08 10:18:31 -05:00
epenet 3a40f5f35b
Add missing mock in airvisual_pro config flow tests (#89362) 2023-03-08 15:18:24 +00:00
epenet 23698eb99f
Add missing mock in agent_dvr config flow tests (#89361) 2023-03-08 15:18:17 +00:00
epenet 959c2205d5
Add missing mock in airvisual config flow tests (#89359) 2023-03-08 10:18:07 -05:00
epenet b61ad43144
Add missing mock in amber config flow tests (#89358) 2023-03-08 10:17:45 -05:00
epenet f4572a2e1c
Add missing mock in atag config flow tests (#89356) 2023-03-08 10:16:51 -05:00
epenet ea6a95176d
Add missing mock in azure event hub config flow tests (#89355) 2023-03-08 10:16:28 -05:00
Florent Thoumie 2ec78ae70e
Recreate iaqualink httpx client upon service exception (#89341) 2023-03-08 15:37:24 +01:00
J. Nick Koston 5374c70c97
Fix bluetooth history and device expire running in the executor (#89342) 2023-03-08 15:27:34 +01:00
epenet 2626dd2c83
Fix invalid state class in litterrobot (#89380) 2023-03-08 15:24:19 +01:00
Franck Nijhof feb3f543be
Improve Supervisor API handling (#89379) 2023-03-08 15:21:11 +01:00
starkillerOG 9381865f1c
Fix setting Reolink focus (#89374)
fix setting focus
2023-03-08 12:25:51 +01:00
Renat Sibgatulin 452e1d341d
Remove invalid device class in air-Q integration (#89329)
Remove device_class from sensors using inconsistent units
2023-03-08 10:00:40 +01:00
epenet 30884f6d17
Add missing mock in axis config flow tests (#89365) 2023-03-08 09:38:55 +01:00
epenet adb4414440
Add missing mock in brother config flow tests (#89354) 2023-03-08 08:43:07 +01:00
Marc Mueller 58280dc2ec
Improve gios generic typing (#89321) 2023-03-08 08:39:15 +01:00
Nathan Spencer ff83b8adb8
Bump pybalboa to 1.0.1 (#89310) 2023-03-08 08:26:34 +01:00
J. Nick Koston 3e5e937541
Use a filter for the PersonStorageCollection EVENT_ENTITY_REGISTRY_UPDATED listener (#89335)
Avoids creating a task unless a device_tracker is removed
2023-03-07 21:07:24 -05:00
Tom Harris 008a30618c
Fix Insteon open issues with adding devices by address and missing events (#89305)
* Add missing events

* Bump dependancies

* Update for code review
2023-03-07 21:06:29 -05:00
puddly fa128fbcec
Clean ZHA radio path with trailing whitespace (#89299)
* Clean config flow entries with trailing whitespace

* Rewrite the config entry at runtime, without upgrading

* Skip intermediate `data = config_entry.data` variable

* Perform a deepcopy to ensure the config entry will actually be updated
2023-03-07 20:24:08 -05:00
J. Nick Koston bde40cde48
Fix thread diagnostics loading blocking the event loop (#89307)
* Fix thread diagnostics loading blocking the event loop

* patch target
2023-03-07 20:21:26 -05:00
J. Nick Koston 099f16f6b8
Fix missing f-string in async_listen (#89336) 2023-03-07 20:19:08 -05:00
Erik Montnemery aa2267d68e
Rename hass context variable (#89302) 2023-03-07 23:21:47 +01:00
starkillerOG 2d3c5cf8ee
Reolink test init 100% (#89112)
* Split out reolink tests

* Bring __init__ coverage to 100%

* Improve docstrings

* Use patching and autospec=True for ReolinkHost

* Use fixture

* fix styling

* Parametrize tests

* Update tests/components/reolink/conftest.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update test_config_flow.py

* convert to fixture

* review comments

* Update tests/components/reolink/conftest.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update tests/components/reolink/conftest.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update tests/components/reolink/conftest.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* fix tests

* fix imports

* Update test_init.py

* Check if host is logout on reload

---------

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-07 20:29:38 +01:00
epenet f9a59c0839
Ignore DSL entities if SFR box is not adsl (#89291) 2023-03-07 19:04:50 +01:00
Erik Montnemery bc0b3abb01
Remove unittest.TestCase from service helper tests (#89283)
* Remove unittest.TestCase from service helper tests

* Update

* Improve tests
2023-03-07 16:54:35 +01:00
Erik Montnemery 058bb4c3e6
Drop deepcopy of Alexa config (#89284) 2023-03-07 16:16:46 +01:00
Erik Montnemery f5a3c4f7f5
Drop deepcopy of intent_script config (#89285) 2023-03-07 16:16:24 +01:00
Erik Montnemery f48b535d9d
Drop deepcopy of manual alarm control panel config (#89286) 2023-03-07 16:15:48 +01:00
Erik Montnemery 3f061e9101
Drop deepcopy of manual mqtt alarm control panel config (#89287) 2023-03-07 16:15:26 +01:00