Commit Graph
112481 Commits
Author SHA1 Message Date
Marcel van der Veldt fd19f3ebdb Update zwave_js discovery scheme for boolean sensors in the Alarm CC (#46085) 2021-02-08 22:36:36 +00:00
Marcel van der Veldt f9f681ac36 update discovery scheme for zwave_js light platform (#46082) 2021-02-08 22:36:35 +00:00
Marcel van der Veldt d16d6f3f3f Handle missing value in all platforms of zwave_js (#46081) 2021-02-08 22:36:05 +00:00
Robert Svensson 483b1dfa61 Use async_update_entry rather than updating config_entry.data directly in Axis (#46078)
Don't step version in migrate_entry to support rollbacking
2021-02-08 22:33:48 +00:00
J. Nick Koston c57fa16a1f Fix incorrect current temperature for homekit water heaters (#46076) 2021-02-08 22:33:47 +00:00
Raman Gupta a9eb9d6136 Fix zwave_js Notification CC sensors and binary sensors (#46072)
* only include property key name in sensor name if it exists

* add endpoint to binary_sensor and sensor notification CC entities if > 0

* refactor to have helper method generate name

* change default behavior of generate_name

* return value for notification sensor when we can't find the state

* store generated name
2021-02-08 22:33:46 +00:00
Robert Svensson 96d8d432d7 Improve deCONZ logbook to be more robust in different situations (#46063) 2021-02-08 22:33:46 +00:00
Marc Mueller 1e59fa2cb2 Fix deprecated method isAlive() (#46062) 2021-02-08 22:33:45 +00:00
Steven Rollason 285fd3d43c Fix downloader path validation on subdir (#46061) 2021-02-08 22:33:44 +00:00
Sergio Conde Gómez 88485d384c Fix foscam to work again with non-admin accounts and make RTSP port configurable again (#45975)
* Do not require admin account for foscam cameras.

Foscam cameras require admin account for getting the MAC address,
requiring an admin account in the integration is not desirable as
an operator one is good enough (and a good practice).

Old entries using the MAC address as unique_id are migrated to the
new unique_id format so everything is consistent.

Also fixed unhandled invalid responses from the camera in the
config flow process.

* Make RTSP port configurable again as some cameras reports wrong port

* Remove periods from new log lines

* Set new Config Flow version to 2 and adjust the entity migration

* Create a proper error message for the InvalidResponse exception

* Change crafted unique_id to use entry_id in the entity

* Abort if same host and port is already configured

* Fix entry tracking to use entry_id instead of unique_id

* Remove unique_id from mocked config entry in tests
2021-02-08 22:33:40 +00:00
Nathan Spencer 58b9394a5f Fix zwave_js cover control for Up/Down and Open/Close (#45965)
* Fix issue with control of cover when the target value is Up/Down instead of Open/Close

* Adjust open/close/stop cover control to account for no Open/Up or Close/Down targets

* Revert back to using values of 0/99 to close/open a cover since it is supported by all covers

* Replace RELEASE_BUTTON with False and remove unused PRESS_BUTTON in zwave_js cover
2021-02-08 22:33:37 +00:00
J. Nick Koston 6467eff09c Fix incorrect current temperature for homekit water heaters (#46076) 2021-02-08 23:23:02 +01:00
J. Nick Koston dc26fd5149 Ensure creating an index that already exists is forgiving for postgresql (#46185)
Unlikely sqlite and mysql, postgresql throws ProgrammingError instead
of InternalError or OperationalError when trying to create an index
that already exists.
2021-02-08 23:22:38 +01:00
tkdrob 6b340415b2 Use core constants for greeneye_monitor (#46238) 2021-02-08 22:53:46 +01:00
tkdrob c2302784c2 Use core constants for helpers (#46240) 2021-02-08 22:53:17 +01:00
tkdrob 00bbf8c3a2 Use core constants for group component (#46239) 2021-02-08 22:52:28 +01:00
J. Nick Koston c0a1fc2916 Handle empty mylink response at startup (#46241) 2021-02-08 22:51:46 +01:00
Álvaro Fernández Rojas fcae840641 Fix Tado Power and Link binary sensors (#46235)
Power and Link aren't converted from strings to booleans by python-tado, so we
need to properly parse before assigning the string value to binary sensors.

Fixes: 067f2d0098 ("Add tado zone binary sensors (#44576)")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-08 22:49:46 +01:00
J. Nick Koston 71d7ae5992 Downgrade and improve lutron caseta LIP error message (#46236) 2021-02-08 22:48:02 +01:00
Marcel van der Veldt 829131fe51 Update zwave_js discovery scheme for boolean sensors in the Alarm CC (#46085) 2021-02-08 11:57:22 -05:00
Marcel van der Veldt be779d8712 update discovery scheme for zwave_js light platform (#46082) 2021-02-08 11:56:19 -05:00
Paulus Schoutsen e27619fe50 Allow discovery info accessible from CORS enabled domains (#46226) 2021-02-08 17:19:55 +01:00
Álvaro Fernández Rojas 1b194e3b2f Add noltari to Tado code owners (#46216) 2021-02-08 11:08:13 -05:00
Bram Kragten 86fe5d0561 Update frontend to 20210208.0 (#46225) 2021-02-08 16:42:33 +01:00
Allen Porter dca6a93898 Centralize keepalive logic in Stream class (#45850)
* Remove dependencies on keepalive from StremaOutput and stream_worker

Pull logic from StreamOutput and stream_worker into the Stream
class, unifying keepalive and idle timeout logic. This prepares
for future changes to preserve hls state across stream url changes.
2021-02-08 07:19:41 -08:00
Paulus Schoutsen e20a814926 Call setup during devcontainer create (#46224) 2021-02-08 16:16:40 +01:00
Shay LevyandErik Montnemery 81c88cd639 Enhance MQTT cover platform (#46059)
* Enhance MQTT cover platform

Allow combining of position and state of MQTT cover
Add template and fix optimistic in set tilt position
Add tests

* Add abbreviations

* Add tests and stopped state

* Cleanup & fix range for templates

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-02-08 16:02:12 +01:00
Greg Dowling 8f4ea3818d Add unavailable to Vera (#46064) 2021-02-08 15:25:54 +01:00
Henco Appel b1ffe429cd Fix BT Smarthub device tracker (#44813) 2021-02-08 15:24:18 +01:00
Joeri 2811e39c5c Add entity specific force_update for DSMR (#46111) 2021-02-08 15:18:36 +01:00
Franck Nijhof 48808978c4 Upgrade pre-commit to 2.10.1 (#46211) 2021-02-08 15:05:11 +01:00
Martin Hjelmare 568180632e Fix sync oath2 scaffold template (#46219) 2021-02-08 15:00:17 +01:00
6f446cf627 Add my component (#46058)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-08 14:44:46 +01:00
Anders Melchiorsen 48002f47f4 Use caplog fixture for log capturing (#46214) 2021-02-08 14:33:57 +01:00
Erik Montnemery 0780e52ca4 Support templates in event triggers (#46207)
* Support templates in event triggers

* Don't validate trigger schemas twice
2021-02-08 14:06:27 +01:00
eaa2d371a7 Add select selector for blueprints (#45803)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-02-08 14:03:26 +01:00
Erik Montnemery 2744d64a3e Pass variables to state trigger templates (#46208)
* Pass variables to state trigger templates

* Remove non working test
2021-02-08 13:22:01 +01:00
Erik Montnemery 9d9c4b47ee Pass variables to numeric state trigger templates (#46209) 2021-02-08 13:21:31 +01:00
tkdrob 92e5bf9786 Use core constants for google (#46210) 2021-02-08 12:24:48 +01:00
Ville Skyttä 82607977ef Various type hint improvements (#46144) 2021-02-08 11:59:46 +01:00
tkdrob 54dce1c505 Use core constants for fleetgo (#46200) 2021-02-08 11:47:30 +01:00
Fabian Affolter 5a4e1eeb0e Upgrade praw to 7.1.4 (#46202) 2021-02-08 11:46:58 +01:00
Hmmbob a23e05d1f6 Fix Google translate TTS by bumping gTTS from 2.2.1 to 2.2.2 (#46110) 2021-02-08 11:43:30 +01:00
tkdrob 87c36d6b6b Use core constants for google_assistant (#46204) 2021-02-08 11:36:59 +01:00
tkdrob 5faf463205 Use core constants for frontend component (#46203) 2021-02-08 11:36:45 +01:00
tkdrob 9b0955b67e Use core constants for flux (#46201) 2021-02-08 11:26:57 +01:00
Matthias Alphart e7ca0ff71a Enable KNX auto_reconnect for auto-discovered connections (#46178) 2021-02-08 11:23:50 +01:00
Erik Montnemery f99c27c6d4 Remove unneeded from_state from device triggers (#45152) 2021-02-08 11:09:45 +01:00
Per Sandström 8efb5eea4d Bump python-verisure to version 1.7.2 (#46177) 2021-02-08 11:00:23 +01:00
Erik Montnemery 047f16772f Support templating MQTT triggers (#45614)
* Add support for limited templates (no HASS access)

* Pass variables to automation triggers

* Support templates in MQTT triggers

* Spelling

* Handle trigger referenced by variables

* Raise on unsupported function in limited templates

* Validate MQTT trigger schema in MQTT device trigger

* Add trigger_variables to automation config schema

* Don't print stacktrace when setting up trigger throws

* Make pylint happy

* Add trigger_variables to variables

* Add debug prints, document limited template

* Add tests

* Validate MQTT trigger topic early when possible

* Improve valid_subscribe_topic_template
2021-02-08 10:50:38 +01:00