Commit Graph
59991 Commits
Author SHA1 Message Date
Marc MuellerandGitHub 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
epenetandGitHub 7982f713e1 Fix lingering tasks in plex (#89282)
* Cleanup expected_lingering_tasks in plex

* Adjust
2023-03-08 10:53:08 -05:00
J. Nick KostonandGitHub 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 KostonandGitHub 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 KostonandGitHub 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
epenetandGitHub 3e2ee7cd11 Add missing mock in aemet config flow tests (#89360) 2023-03-08 10:18:44 -05:00
epenetandGitHub 33906059d3 Add missing mock in airq config flow tests (#89364) 2023-03-08 10:18:31 -05:00
epenetandGitHub 3a40f5f35b Add missing mock in airvisual_pro config flow tests (#89362) 2023-03-08 15:18:24 +00:00
epenetandGitHub 23698eb99f Add missing mock in agent_dvr config flow tests (#89361) 2023-03-08 15:18:17 +00:00
epenetandGitHub 959c2205d5 Add missing mock in airvisual config flow tests (#89359) 2023-03-08 10:18:07 -05:00
epenetandGitHub b61ad43144 Add missing mock in amber config flow tests (#89358) 2023-03-08 10:17:45 -05:00
epenetandGitHub f4572a2e1c Add missing mock in atag config flow tests (#89356) 2023-03-08 10:16:51 -05:00
epenetandGitHub ea6a95176d Add missing mock in azure event hub config flow tests (#89355) 2023-03-08 10:16:28 -05:00
Florent ThoumieandGitHub 2ec78ae70e Recreate iaqualink httpx client upon service exception (#89341) 2023-03-08 15:37:24 +01:00
J. Nick KostonandGitHub 5374c70c97 Fix bluetooth history and device expire running in the executor (#89342) 2023-03-08 15:27:34 +01:00
epenetandGitHub 2626dd2c83 Fix invalid state class in litterrobot (#89380) 2023-03-08 15:24:19 +01:00
Franck NijhofandGitHub feb3f543be Improve Supervisor API handling (#89379) 2023-03-08 15:21:11 +01:00
starkillerOGandGitHub 9381865f1c Fix setting Reolink focus (#89374)
fix setting focus
2023-03-08 12:25:51 +01:00
Renat SibgatulinandGitHub 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
epenetandGitHub 30884f6d17 Add missing mock in axis config flow tests (#89365) 2023-03-08 09:38:55 +01:00
epenetandGitHub adb4414440 Add missing mock in brother config flow tests (#89354) 2023-03-08 08:43:07 +01:00
Marc MuellerandGitHub 58280dc2ec Improve gios generic typing (#89321) 2023-03-08 08:39:15 +01:00
Nathan SpencerandGitHub ff83b8adb8 Bump pybalboa to 1.0.1 (#89310) 2023-03-08 08:26:34 +01:00
J. Nick KostonandGitHub 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 HarrisandGitHub 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
puddlyandGitHub 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 KostonandGitHub 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 KostonandGitHub 099f16f6b8 Fix missing f-string in async_listen (#89336) 2023-03-07 20:19:08 -05:00
Erik MontnemeryandGitHub aa2267d68e Rename hass context variable (#89302) 2023-03-07 23:21:47 +01:00
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
epenetandGitHub f9a59c0839 Ignore DSL entities if SFR box is not adsl (#89291) 2023-03-07 19:04:50 +01:00
Erik MontnemeryandGitHub 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 MontnemeryandGitHub 058bb4c3e6 Drop deepcopy of Alexa config (#89284) 2023-03-07 16:16:46 +01:00
Erik MontnemeryandGitHub f5a3c4f7f5 Drop deepcopy of intent_script config (#89285) 2023-03-07 16:16:24 +01:00
Erik MontnemeryandGitHub f48b535d9d Drop deepcopy of manual alarm control panel config (#89286) 2023-03-07 16:15:48 +01:00
Erik MontnemeryandGitHub 3f061e9101 Drop deepcopy of manual mqtt alarm control panel config (#89287) 2023-03-07 16:15:26 +01:00
epenetandGitHub ff2a88b426 Bump ruff to 0.0.254 (#89273) 2023-03-07 13:25:31 +01:00
Franck NijhofandGitHub 8c282e2b0d Remove deprecated DSMR Reader YAML configuration (#89239) 2023-03-07 13:24:41 +01:00
epenetandGitHub 14bf68ad03 Cleanup expected_lingering_tasks in knx (#89279) 2023-03-07 11:59:31 +01:00
epenetandGitHub c51bde9a26 Fail CI on lingering tasks (#88905) 2023-03-07 11:35:48 +01:00
85bcf11aeb Update systembridgeconnector to 3.4.8 (#79732)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-07 10:22:31 +01:00
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 KostonandGitHub 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 KostonandGitHub 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
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
J. Nick KostonandGitHub 5ccaa549d1 Bump aioesphomeapi to 13.5.0 (#89262) 2023-03-06 14:04:10 -10:00
luar123andGitHub 7972dbf9fb Bump python-snapcast to 2.3.2 (#89259) 2023-03-06 22:48:40 +01:00
84034959ba Improve reolink generic typing (#88786)
Co-authored-by: starkillerOG <starkiller.og@gmail.com>
2023-03-06 21:54:34 +01:00
J. Nick KostonandGitHub 83fa4c6c60 Bump aioesphomeapi to 13.4.2 (#89210) 2023-03-06 18:49:54 +01:00
Maciej BieniekandGitHub 1538f639ae Bump gios library to version 3.1.0 (#89044) 2023-03-06 18:12:19 +01:00