Commit Graph

10328 Commits

Author SHA1 Message Date
Ville Skyttä
5bf67cac66 Use RegistryEntryDisabler (#60436) 2021-12-15 23:25:40 +02:00
javicalle
75e7104339 A few RFLink tests (#58544)
* Full coverage for RFLink tests

* use global constants

* extend RFLink keepalive tests
2021-12-15 23:09:54 +02:00
Ville Skyttä
7db3246de4 Make config entry disabled_by an enum (#60445)
* Make config entry disabled_by an enum

* Update homeassistant/config_entries.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-12-15 20:53:21 +01:00
Robert Hillis
cc3a4fef53 Remove deprecated yaml config from enphase envoy (#61840) 2021-12-15 13:55:31 +01:00
Marvin Wichmann
cefbc2c428 Allow setting local_ip for knx routing connections (#61836) 2021-12-15 13:15:56 +01:00
Allen Porter
bff677e34e Bump google-nest-sdm to 0.4.8 (#61851) 2021-12-15 13:12:38 +01:00
Jan Bouwhuis
d5defa8995 Support publishing MQTT messages with raw bytes payloads (#61090)
* correctly publish mqtt ouput

* Additional tests

* Add template test with binary output

* render_outgoing_payload with command templates

* use MqttCommandTemplate helper class

* add tests command_template

* Additional tests

* support pass-through for MqttComandTemplate

* fix bugs

* unify workform always initiate with hass

* clean up

* remove not needed lines

* comment not adding value
2021-12-15 11:28:43 +01:00
Erik Montnemery
f17164fa47 Don't override pychromecast MediaController's APP ID (#61796) 2021-12-15 10:40:37 +01:00
Marcel van der Veldt
01c8e5f49d Fix turn_off with transition for grouped Hue lights (#61728)
* fix turn_off with transition for grouped hue lights

* add test
2021-12-14 11:24:37 -08:00
Erik Montnemery
cf09d1b604 Improve warnings when a zone trigger is referencing a none-existing zone (#61763) 2021-12-14 20:14:50 +01:00
Pascal Vizeli
c02aae58fb Add twinkly DHCP support (#61434)
* Add twinkly DHCP support

* fix typing import

* fix format

* Fix imports v2

* Using IP

* Fix tests

* Apply suggestions from code review

Thanks @bdraco

Co-authored-by: J. Nick Koston <nick@koston.org>

* fix black

* Add confirm step

* Add more tests

* Update homeassistant/components/twinkly/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-14 15:12:19 +01:00
Robert Hillis
dfcadd600c Remove deprecated yaml from foscam (#61761) 2021-12-14 13:11:07 +01:00
epenet
eddc1ae0ed Use new enums in huisbaasje (#61776)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-14 10:54:47 +01:00
Franck Nijhof
de45144750 Remove deprecated YAML configuration from Luftdaten (#61748) 2021-12-14 09:21:12 +01:00
RDFurman
1ed6abe23d Honeywell unique id fix (#59393)
* Move error logging and remove reload

* Change device assignment and improve logging

* Use dictionary for devices

* Check if new device exists in API response

* Add test and make loop better

* Make test assert on error in log
2021-12-13 20:38:43 -08:00
Marcel van der Veldt
438d19f72b Fix Flash effect for Hue lights (#61733) 2021-12-13 16:27:58 -08:00
Klaas Schoute
dea20cf816 Upgrades Garages Amsterdam to v3.0.0 (#61734) 2021-12-14 00:31:22 +01:00
Robert Hillis
82e280d2ac Remove deprecated yaml config from flume (#61517) 2021-12-13 23:04:50 +01:00
J. Nick Koston
65ec251309 Fix updating apple_tv addresses (#61724) 2021-12-13 21:38:22 +01:00
Allen Porter
efbec55818 Suppress errors for legacy nest api when using media source (#61629) 2021-12-13 17:41:45 +01:00
Martin Hjelmare
0662ab019f Improve balboa tests (#61691) 2021-12-13 17:11:21 +01:00
Erik Montnemery
c157f1a787 Add color mode support to zwave light (#55264)
* Add color mode support to zwave light

* Fix typo
2021-12-13 14:38:49 +01:00
Erik Montnemery
bceeaec2f8 Remove duplicated statistics rows (#61146)
* Remove duplicated statistics

* Fix misleading docstring

* Pylint knows best

* Correct test

* Oops

* Prevent insertion of duplicated statistics

* Tweak

* pylint

* Add models_schema_23.py

* Tweak
2021-12-13 14:15:36 +01:00
Allen Porter
cd001d0243 Only publish nest camera event messages once per thread and bump nest version (#61587) 2021-12-12 14:12:05 -08:00
Marcel van der Veldt
4ad90b33c9 Fix Hue transition calculation (#61581) 2021-12-12 14:11:41 -08:00
J. Nick Koston
8200101785 Fix HomeKit covers with device class window and no tilt (#61566) 2021-12-12 14:10:40 -08:00
Allen Porter
c3e72bec0a Update logic for nest media source can_play for events (#61537) 2021-12-12 14:10:20 -08:00
Marc Mueller
cbe58913ea Fix freedompro tests (#61012) 2021-12-12 14:09:45 -08:00
David F. Mulcahey
94324cebea Update HVAC action handling in ZHA climate devices (#61460)
* Update HVAC action handling in ZHA climate devices

* fix class name

* align with class name changes

* get the correct sensor entity for state assertions
2021-12-12 12:11:37 -05:00
Alexei Chetroi
997809c6c4 Refactor ZHA entity matching process (#60063)
* Group multi-matches by channels

* Group multi-matched by explicit groups

* Registryless AnalogInput and PowerConfiguration

* Refactor single cluster sensor registry

* Refactor single cluster cover and lock registry

* Refactor single cluster binary_sensor registry

* Pylint
2021-12-12 07:52:49 -05:00
J. Nick Koston
388fcac689 Reduce cpu requirements for apple_tv mdns and discovery (#61346)
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2021-12-11 19:57:11 -10:00
Austin Mroczek
3198211a7f Add instant arming for totalconnect (#60156)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-11 15:58:12 -10:00
David F. Mulcahey
abbde8f128 Clean up state class and device class usage in ZHA (#61049)
* Clean up sensor and device class usage in ZHA

* additional cleanup

* Use EntityCategory
2021-12-11 11:51:24 -05:00
Marcel van der Veldt
0abfc90870 Fix typo in Hue device triggers - use enum value (#61498) 2021-12-11 17:12:33 +01:00
David F. Mulcahey
a17031630f Use Platform enum in ZHA (#61016) 2021-12-11 11:06:39 -05:00
J. Nick Koston
3eabd69666 Fix exception in color_rgb_to_rgbww (#61466) 2021-12-10 22:19:54 -08:00
Andre Lengwenus
74d5cbd3a9 Add events and device triggers to LCN (#58745) 2021-12-10 19:02:17 -10:00
Marcel van der Veldt
0d36b07d10 Small fix for device triggers and events on Hue integration (#61462) 2021-12-10 15:11:34 -08:00
jjlawren
6d54261322 Remove external library discovery call in Sonos (#61461)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-10 11:28:47 -10:00
Erik Montnemery
dc5888ab4a Correct recorder.statistics.get_last_statistics (#61421) 2021-12-10 10:09:29 -08:00
Erik Montnemery
aa36dde148 Correct rest sensor configured to generate timestamps (#61429) 2021-12-10 09:59:27 -08:00
Erik Montnemery
281b5e1c22 Speed up demo lock tests (#61425) 2021-12-10 11:13:44 +01:00
J. Nick Koston
8d483e2206 Fix flux_led discovery with older models (#61413) 2021-12-10 08:29:27 +01:00
Erik Montnemery
27d1063dec Revert "Skip duplicated data when calculating fossil energy consumption (#60599)" (#61323)
This reverts commit 159506262a.
2021-12-10 08:19:53 +01:00
Matthias Alphart
4f9d4872a7 Fix unique_id of S0 meters connected to Fronius inverters (#61408) 2021-12-09 15:35:20 -08:00
Aaron Bach
b556bd1d58 Consolidate SimpliSafe config flow forms into one (#61402) 2021-12-09 14:11:41 -08:00
Franck Nijhof
1ed490ce62 Fix date/datetime support for templates (#61088)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-09 11:43:48 +01:00
Daniel Hjelseth Høyer
4c542336d5 Add sensors to Mill local heaters (#61247)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-09 09:04:19 +01:00
Stefan Agner
a13ae85982 Introduce only_supervisor for @websocket_api.ws_require_user() (#61298) 2021-12-08 16:49:35 -08:00
epenet
c05eca1c82 Remove log flooding prevention logic from discovery info (#61243)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 10:28:26 -10:00