Mark Adkins
84b5ea8ac0
Bump SharkIQ to 1.0.2 ( #89346 )
...
* SharkIQ Dep & Codeowner Update
* Update code owners
* Revert code owner changes
2023-03-08 15:31:32 -05:00
Erik Montnemery
7232a0a786
Add require_admin decorator to otbr WS API ( #89385 )
...
* Add require_admin decorator to otbr WS API
* Add require_admin decorator to forgotten otbr WS API
2023-03-08 19:21:04 +01:00
parliament119
7d97653895
Bump pyfritzhome to 0.6.8 and add support for Non-Color-Bulbs ( #89141 )
2023-03-08 18:24:37 +01:00
Erik Montnemery
18cb53a35c
Pass hass instance when validating templates ( #89242 )
...
* Pass hass instance when validating templates
* Update tests
* Fix validating templates without hass
* Update service tests
2023-03-08 11:28:53 -05:00
Vincent Knoop Pathuis
b0013247ff
Move Landis+Gyr sensor descriptions to sensor platform ( #89382 )
...
Move HEAT_METER_SENSOR_TYPES to sensor platform
2023-03-08 16:56:04 +01:00
Marc Mueller
bfb89fd8f2
Update pylint to 2.17.0 ( #89377 )
...
* Update pylint to 2.17.0
* Remove unused pylint disable comments
2023-03-08 10:54:19 -05:00
epenet
7982f713e1
Fix lingering tasks in plex ( #89282 )
...
* Cleanup expected_lingering_tasks in plex
* Adjust
2023-03-08 10:53:08 -05:00
J. Nick Koston
aff7345ea0
Improve event filters to reject earlier ( #89337 )
...
* Improve event filters to reject earlier
- Avoid running the callbacks for state added/removed from
a domain if there are no listeners that care about the domain
- Remove some impossible checks in the listeners that will
never match since they were already rejected by the filter
* leave one guard since there is a race when we return control via await
2023-03-08 10:25:42 -05:00
J. Nick Koston
614a1b03c1
Use an event filter for event triggers ( #89339 )
...
We avoid the overhead of call_soon and event loop
scheduling if the event does not match the schema
2023-03-08 10:23:13 -05: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
epenet
ff2a88b426
Bump ruff to 0.0.254 ( #89273 )
2023-03-07 13:25:31 +01:00
Franck Nijhof
8c282e2b0d
Remove deprecated DSMR Reader YAML configuration ( #89239 )
2023-03-07 13:24:41 +01:00
epenet
14bf68ad03
Cleanup expected_lingering_tasks in knx ( #89279 )
2023-03-07 11:59:31 +01:00
epenet
c51bde9a26
Fail CI on lingering tasks ( #88905 )
2023-03-07 11:35:48 +01:00
Aidan Timson
85bcf11aeb
Update systembridgeconnector to 3.4.8 ( #79732 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-07 10:22:31 +01:00
Doney den Ouden
755c44d152
Add HomeKit Door accessory type ( #80741 )
...
Co-authored-by: Jason Redd <jredd46@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-03-06 18:07:43 -10:00
J. Nick Koston
3c70dd9b42
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-06 20:44:11 -05:00
J. Nick Koston
9672b5f02c
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-06 20:20:37 -05:00
J. Nick Koston
ee89922c1b
Add support for bluetooth pairing in esphome ( #88603 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-06 14:24:35 -10:00