Commit Graph

12549 Commits

Author SHA1 Message Date
Franck Nijhof
7bd9ce72f7 Add reauth support to LaMetric (#80355)
* Add reauth support to LaMetric

* Adjust docblock
2022-10-14 23:54:14 +02:00
J. Nick Koston
3b33e0d832 Add support for restoring HomeKit IIDs (#79913) 2022-10-14 09:58:09 -10:00
J. Nick Koston
0c76e3a97e Automatically determine the advertising interval for bluetooth devices (#79669) 2022-10-14 14:39:18 -04:00
Charles Garwood
a68bd8df6f Add start_application service to fully_kiosk integration (#80226) 2022-10-14 19:21:58 +02:00
taiyeoguns
e01572bc44 Convert graphite tests to pytest (#79807)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-10-14 17:59:09 +02:00
Franck Nijhof
6aa47e871d Little cleanup of Alert tests (#80333) 2022-10-14 17:11:30 +02:00
Erik Montnemery
284893d942 Fix reload of automation and scripts when blueprint changed (#80322) 2022-10-14 16:43:09 +02:00
Erik Montnemery
81f40afd80 Only reload modified automations (#80282)
* Only reload modified automations

* Update tests

* Adjust spelling

* Improve efficiency of matching automations and configurations

* Reload automations without an alias if they have been moved

* Add test

* Add test

* Add test
2022-10-14 15:28:03 +02:00
Franck Nijhof
dd266b7119 Remove elevation warning from sun (#80239) 2022-10-14 15:23:44 +02:00
epenet
4c3097a157 Use local UNIT constants in here_travel_time (#80324)
* Use local UNIT constants in here_travel_time

* Fix test
2022-10-14 15:16:03 +02:00
David F. Mulcahey
d75e449c52 Add ability to convert ZCL schemas to vol schemas to ZHA (#79908)
* try serializing cluster command schemas

* use min and max value from zigpy type

* different type assignments

* initial command execution changes

* cleanup

* cleanup and typing

* typing

* typing

* add tests

* mypy

* handle raw values too

* check for None responses

* make backwards compatible

* update yaml for svc change
2022-10-14 08:15:10 -04:00
Marc Mueller
a63c9e8fb9 Update python-typing-update to 0.5.0 (#80315) 2022-10-14 13:21:37 +02:00
hesselonline
a534c136a1 Fix wallbox jwt issue (#79948)
* Bump Wallbox package

* remove debug message

* Force update of auth token by emptying it first

* Force token refresh by emptying token
Improve exception handling

* include tests

* Update __init__.py

* Removed the clearing ot jwt token, issue is fixed by upstream fix in wallbox package.

* Catch connectionerror

* Update homeassistant/components/wallbox/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Run black

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-10-14 13:09:00 +02:00
epenet
4c8f8c2e61 Adjust distance unit check in here travel time (#80243)
* Adjust distance unit check in here travel time

* Add tests

* Use system compare

* Use is not ==
2022-10-14 12:22:48 +02:00
epenet
0b7c84edbd Adjust distance unit check in google travel time (#80232)
* Cleanup unused option in google travel time

* Adjust tests

* Adjust to use local constant

* Tweak logic

* Reduce size of PR

* Add tests

* Use system compare

* Use is not ==

* Adjust to use local constant again
2022-10-14 12:13:47 +02:00
Erik Montnemery
2c206ad050 Fix flaky recorder test (#80246)
* Fix flaky recorder test

* Update tests/components/recorder/test_init.py

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

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-10-14 09:10:38 +02:00
Shay Levy
5a51738b2f Add Switcher runner support (#79430)
* Add Switcher runner support

* Retrigger docs check

* Review suggestions

* Move API strings to constants
2022-10-13 22:20:13 +01:00
Diogo Gomes
180b296426 IPMA Code quality improvement (#77771)
* merge upstream/dev

* remove comment

* coverage increase

* merge upstream/dev

* refactor

* wait for another PR

* remove left overs

* wait for next PR

* only remove on successful unload

Co-authored-by: Shay Levy <levyshay1@gmail.com>

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-10-14 00:18:57 +03:00
Erik Montnemery
e852c9b012 Fix logbook tests (#80264)
* Fix logbook tests

* Correct tests

* Improve tests
2022-10-13 17:34:45 +02:00
Aaron Bach
eae96eb4c2 Add diagnostics to AirNow (#79904) 2022-10-13 07:31:33 -06:00
Erik Montnemery
04cc2ae264 Correct initialization of new databases (#80234) 2022-10-13 13:01:27 +02:00
Erik Montnemery
acb1477673 Avoid time traveling in recorder tests (#80247) 2022-10-13 11:51:27 +02:00
Erik Montnemery
4462f2fc46 Fix recorder tests related to mysql (#80238) 2022-10-13 11:44:48 +02:00
Franck Nijhof
ea6368775b Make notifiers of Alert optional (#80209) 2022-10-13 09:04:36 +02:00
Erik Montnemery
466c4656ca Refactor recorder migration (#80175)
* Refactor recorder migration

* Improve test coverage
2022-10-13 08:11:54 +02:00
Kevin Addeman
01c66aa7c1 Add support for area field from pylutron_caseta (#80221) 2022-10-12 14:26:54 -10:00
Kevin Addeman
82322e3804 Add button entities for Lutron Caseta/RA3/HWQSX (#79963)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-12 10:29:28 -10:00
Franck Nijhof
37a5a09910 Remove unused is_on helper function from Alert (#80190) 2022-10-12 21:10:03 +03:00
Franck Nijhof
ad6c3d1cde Move alert constants into const module (#80170)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-10-12 17:17:48 +02:00
Franck Nijhof
30920c3da7 Code quality improvements for Fully Kiosk (#80168) 2022-10-12 15:52:09 +02:00
Erik
4a1c40f09b Revert "Refactor recorder migration"
This reverts commit 69e10e5982.
2022-10-12 15:12:12 +02:00
Erik
69e10e5982 Refactor recorder migration 2022-10-12 15:00:28 +02:00
Bouwe Westerdijk
6abf677092 Bump plugwise to v0.25.0 and adapt relevant plugwise code (#80129) 2022-10-12 14:48:09 +02:00
Franck Nijhof
b28ad1282a Use percentage constant as unit in LaMetric brightness (#80162) 2022-10-12 11:56:18 +02:00
Franck Nijhof
1191f4b61d Add error handling to LaMetric switch platform (#80161) 2022-10-12 11:35:09 +02:00
Franck Nijhof
9396169060 Add error handling to LaMetric select platform (#80160) 2022-10-12 11:34:08 +02:00
Franck Nijhof
77571c8a84 Add error handling to LaMetric number platform (#80159) 2022-10-12 11:33:09 +02:00
CharlB
107e1ed16c Fix, improve input validation and add tests to ClickSend tts (#76669)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-10-12 11:27:46 +02:00
Franck Nijhof
d03e0380bb Add brightness controls to LaMetric (#79804) 2022-10-12 10:59:15 +02:00
ollo69
75886d7213 Strip whitespace from Nut "zero" serialno (#80141) 2022-10-12 10:04:48 +02:00
Chris Talkington
46794f7a5d Add sensor platform to Jellyfin (#79966) 2022-10-12 00:20:32 -05:00
Franck Nijhof
a18f8d2ff3 Add error handling to LaMetric button platform (#80136) 2022-10-11 23:50:07 +02:00
J. Nick Koston
f23b1750e8 Migrate HomeKit Controller to use stable identifiers (#80064) 2022-10-11 11:26:03 -10:00
Franck Nijhof
e3a3f93441 Add full test coverage to LaMetric (#80134) 2022-10-11 22:54:49 +02:00
Aaron Bach
b446cab03b Redact additional sensitive fields in ReCollect Waste diagnostics (#80119)
* Redact additional sensitive fields in ReCollect Waste diagnostics

* One call
2022-10-11 13:14:07 -06:00
Aaron Bach
f92da26c04 Add config entry to Ridwell diagnostics (#80120) 2022-10-11 13:03:48 -06:00
Aaron Bach
1262c0e221 Use entry.as_dict() in SimpliSafe diagnostics (#80121) 2022-10-11 12:15:32 -06:00
Aaron Bach
d4465e4e69 Use entry.as_dict() in WattTime diagnostics (#80122) 2022-10-11 12:15:21 -06:00
Aaron Bach
687987f05b Use entry.as_dict() in RainMachine diagnostics (#80118)
* Use `entry.as_dict()` in RainMachine diagnostics

* One call
2022-10-11 12:15:07 -06:00
Aaron Bach
2f6e55b3bb Fix uncaught error in OpenUV diagnostics test (#80116) 2022-10-11 19:19:13 +03:00