Commit graph

59968 commits

Author SHA1 Message Date
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
J. Nick Koston
5ccaa549d1
Bump aioesphomeapi to 13.5.0 (#89262) 2023-03-06 14:04:10 -10:00
luar123
7972dbf9fb
Bump python-snapcast to 2.3.2 (#89259) 2023-03-06 22:48:40 +01:00
Marc Mueller
84034959ba
Improve reolink generic typing (#88786)
Co-authored-by: starkillerOG <starkiller.og@gmail.com>
2023-03-06 21:54:34 +01:00
J. Nick Koston
83fa4c6c60
Bump aioesphomeapi to 13.4.2 (#89210) 2023-03-06 18:49:54 +01:00
Maciej Bieniek
1538f639ae
Bump gios library to version 3.1.0 (#89044) 2023-03-06 18:12:19 +01:00
Marc Mueller
b407227d4a
Update pylint to 2.16.4 (#89240) 2023-03-06 17:50:42 +01:00
starkillerOG
f9be796ca3
Reolink extend DHCP discovery (#89238) 2023-03-06 17:23:24 +01:00
epenet
91e389c58d
Bump ruff to 0.0.253 (#89211)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-03-06 16:16:31 +01:00
starkillerOG
e8bdaaacd9
Add comment about Reolink Floodlight turn on brightness (#89234)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-03-06 16:08:53 +01:00
Robert Svensson
9ff45ca013
Allow loading UniFi entities on config options change (#88762)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-06 16:08:14 +01:00
epenet
ee6f969c2a
Add type hints to ps4 media player (#89236) 2023-03-06 15:56:34 +01:00
Jan Bouwhuis
5ee383456f
Catch exceptions and add logging when writing states on MQTT entities (#89091)
* Catch exceptions when writing states

* Do not use wrapper for logging and adjust tests

* Catch logging directly on async_write_ha_state()

* Update homeassistant/components/mqtt/models.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Fix test

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-03-06 15:34:47 +01:00
Marc Mueller
0c042e8f72
Fix conditional check (#89231) 2023-03-06 14:04:36 +01:00
starkillerOG
76cc4c9c08
Add Reolink light platform (#88619)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-03-06 12:48:36 +01:00
Bram Kragten
0ce9c6293a
Update frontend to 20230306.0 (#89227) 2023-03-06 12:47:01 +01:00
starkillerOG
b2166c3117
Reolink add new number entities (#87932)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-06 12:42:34 +01:00
epenet
14a17b1028
Use mock_setup_entry fixture in melnor (#89226) 2023-03-06 12:28:40 +01:00
Raman Gupta
b572ecc62d
Update zwave_js README with contributor instructions (#89158) 2023-03-06 12:06:53 +01:00
epenet
bf5f7c53d8
Move mock_setup_entry to conftest (#88484) 2023-03-06 11:31:50 +01:00
Fabian Pfütsch
ea4d2bd1e8
Sync tado zones after updating climate preset (#79715) 2023-03-06 10:40:34 +01:00
Erik Montnemery
ab1df8065c
Refresh homeassistant_alerts when components are loaded (#76049) 2023-03-06 10:26:37 +01:00
epenet
0c65af93af
Split reauth tests in plex (#89212) 2023-03-06 10:02:32 +01:00
Franck Nijhof
c7b30b61de
Revert "Add device info to edl21" (#89217) 2023-03-06 08:51:33 +01:00
Stephan Uhle
fc673139cd
Add device info to edl21 (#89070)
* Added device info for edl21.

* Apply suggestions from code review
2023-03-06 08:29:41 +01:00
MarkGodwin
876776e291
Fix host IP and scheme entry issues in TP-Link Omada (#89130)
Fixing host IP and scheme entry issues
2023-03-05 23:47:45 -05:00
ztamas83
811e286f0f
Test coverage for Tibber config flow (#89088)
* Test coverage for Tibber config flow

* Fix isort and ruff errors
2023-03-05 20:38:47 -05:00
Matthias Alphart
36dabaaea6
Fix lingering tasks in KNX tests (#89201) 2023-03-05 20:19:42 -05:00
Franck Nijhof
ff485d4648
Refactor WLED number tests (#88582) 2023-03-05 19:49:01 -05:00