Commit Graph

25942 Commits (1444afbe5a0c2d023f4995ae366938e338233ee7)

Author SHA1 Message Date
Erik Montnemery 190a9f66cb
Improve MQTT timeout print (#46398) 2021-02-12 11:43:44 +01:00
tkdrob 0d2f5cf7ed
Use core constants for plugwise (#46414) 2021-02-12 11:42:34 +01:00
Franck Nijhof 9b7c39d20b
Postponed evaluation of annotations in core (#46434)
* Postponed evaluation of annotations in core

* Remove unneeded future
2021-02-12 10:58:20 +01:00
tkdrob 910c034613
Use core constants for recollect_waste (#46416) 2021-02-12 09:28:11 +01:00
Joakim Plate a67b598971
Correct errors found on post merge review in philips_js (#46428)
* Correct missed review changes

* Adjust return value for device trigger

* Drop cannot connect

* Always assume there is a unique id

* No need to yield

* Update homeassistant/components/philips_js/media_player.py

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

* Move typing to init

* Adjust typing instead of returning lambda

* Explicity return None

* Coerce into int

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-12 02:35:29 +01:00
HomeAssistant Azure ee04473e85 [ci skip] Translation update 2021-02-12 00:02:46 +00:00
Joakim Plate 8dc06e612f
Add config flow to philips_js (#45784)
* Add config flow to philips_js

* Adjust name of entry to contain serial

* Use device id in event rather than entity id

* Adjust turn on text

* Deprecate all fields

* Be somewhat more explicit in typing

* Switch to direct coordinator access

* Refactor the pluggable action

* Adjust tests a bit

* Minor adjustment

* More adjustments

* Add missing await in update coordinator

* Be more lenient to lack of system info

* Use constant for trigger type and simplify

* Apply suggestions from code review

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

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-11 21:37:53 +01:00
Czapla 14a64ea970
Add generic_thermostat unique ID parameter (#46399)
* Add generic_thermostat unique ID parameter

* Add tests for unique id

* Fix flake8
2021-02-11 19:46:58 +00:00
Erik Montnemery 26e7916367
Migrate mobile_app to RestoreEntity (#46391) 2021-02-11 20:18:03 +01:00
tkdrob 70e23402a9
Use core constants for ohmconnect (#46413) 2021-02-11 13:56:50 -05:00
Martin eb0d1bb673
Improve knx fan implementation (#46404) 2021-02-11 07:55:17 -10:00
tkdrob fd177441b3
Use core constants for nmap_tracker (#46402) 2021-02-11 17:45:26 +01:00
tkdrob c95f401e2e
Use core constants for nissan_leaf (#46401) 2021-02-11 17:44:39 +01:00
Erik Montnemery ed31cc363b
Wait for registries to load at startup (#46265)
* Wait for registries to load at startup

* Don't decorate new functions with @bind_hass

* Fix typing errors in zwave_js

* Load registries in async_test_home_assistant

* Tweak

* Typo

* Tweak

* Explicitly silence mypy errors

* Fix tests

* Fix more tests

* Fix test

* Improve docstring

* Wait for registries to load
2021-02-11 17:36:19 +01:00
Anders Melchiorsen 888c9e120d
Raise ConditionError for time errors (#46250) 2021-02-11 17:29:17 +01:00
Steve Dwyer 5ce49c62b1
Allow MQTT template light floating point transition (#46385)
Allow to use floating point values for the transition time of the MQTT
template light.
2021-02-11 14:57:27 +01:00
tkdrob b1a7bfee14
Clean up kira integration constants (#46390) 2021-02-11 07:59:09 -05:00
tkdrob c75e63dc95
Use core constants for modbus (#46388) 2021-02-11 07:58:16 -05:00
tkdrob b85ecc0bd2
Use core constants for mqtt (#46389) 2021-02-11 13:38:33 +01:00
tkdrob 1b61b5c10b
Clean up kira integration (#46292) 2021-02-11 11:04:11 +01:00
Shay Levy 6015161dab
Fix Shelly relay device set to light appliance type (#46181) 2021-02-11 10:40:03 +01:00
Anders Melchiorsen 1f5fb8f28a
Raise ConditionError for template errors (#46245) 2021-02-11 10:30:09 +01:00
tkdrob e013ad2413
Use core constants for microsoft (#46369) 2021-02-11 10:25:43 +01:00
J. Nick Koston f9f4c0aeed
Fix explict return in tesla config flow (#46377) 2021-02-11 10:24:31 +01:00
tkdrob 29d8b8a22f
Some code cleanups for ESPHome (#46367) 2021-02-11 10:19:39 +01:00
tkdrob 379f5455e5
Use core constants for lovelace (#46368) 2021-02-11 10:13:18 +01:00
Mike Keesey f549ec5ec9
Use activity ids for unique_id for Harmony switches (#46139) 2021-02-10 21:50:27 -10:00
Leonardo Figueiro 3ffa42e56a
Update WiLight Cover Fan Light (#46366) 2021-02-10 21:25:42 -10:00
tkdrob 56adc9dadb
Use core constants for lcn (#46348) 2021-02-10 21:22:32 -05:00
tkdrob af2fa17e8e
Use core constants for local_file (#46349) 2021-02-10 21:21:35 -05:00
tkdrob 7f8fa7feaf
Use core constants for logi_circle (#46359) 2021-02-10 21:20:40 -05:00
HomeAssistant Azure 8007391244 [ci skip] Translation update 2021-02-11 00:02:56 +00:00
J. Nick Koston 281fbe1dfa
Update wilight for new fan entity model (#45869) 2021-02-10 12:49:52 -10:00
tkdrob d8a2e0e051
Remove unnecessary variables from logbook (#46350) 2021-02-10 12:17:37 -10:00
uvjustin acde33dbbc
Keep 1 extra segment around after playlist removal (#46310)
* Keep 1 extra segment around after playlist removal

* Remove segments length check
2021-02-10 15:51:16 -05:00
ehendrix23 9bc3c6c130
Bump pymyq to 3.0.1 (#46079)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-10 10:30:52 -10:00
J. Nick Koston c59b1c72c5
Add reauth support for tesla (#46307) 2021-02-10 20:55:06 +01:00
J.P. Hutchins 67ab86443e
Revert transmission to check torrent lists by name rather than object (#46190) 2021-02-10 20:53:31 +01:00
J. Nick Koston 884df40951
Update powerwall for new authentication requirements (#46254)
Co-authored-by: badguy99 <61918526+badguy99@users.noreply.github.com>
2021-02-10 20:50:38 +01:00
J. Nick Koston 2e2eab662b
Fix Lutron Integration Protocol reconnect logic (#46264) 2021-02-10 20:48:15 +01:00
Erik Montnemery fc4fc48763
Bump hatasmota to 0.2.8 (#46340) 2021-02-10 20:42:34 +01:00
Leonardo Figueiro 2db102e023
Add WiLight Cover (#46065)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-10 09:08:39 -10:00
Alan Tse cdd78316c4
Use oauthv3 for Tesla (#45766) 2021-02-10 08:01:24 -10:00
Paulus Schoutsen 538df17a28
Restore Google/Alexa extra significant change checks (#46335) 2021-02-10 16:30:29 +01:00
Marcel van der Veldt 74647e1fa8
Add guards for missing value in binary_sensor platform of zwave_js integration (#46293) 2021-02-10 10:30:16 -05:00
Joakim Sørensen 917a616ce1
Replace parse_version with AwesomeVersion (#46329) 2021-02-10 15:58:26 +01:00
Joakim Sørensen dbb98e6cac
Replace LooseVersion with AwesomeVersion (#46330) 2021-02-10 15:26:38 +01:00
Joakim Sørensen ea4ad85488
Replace StrictVersion with AwesomeVersion (#46331) 2021-02-10 15:25:44 +01:00
Bram Kragten 7928cda080
Add `already_in_progress` string to roku config flow (#46333) 2021-02-10 15:25:24 +01:00
tkdrob ad72715212
Use core constants for konnected (#46322) 2021-02-10 08:57:53 -05:00
Franck Nijhof b7e11347d5
Remove defunct Crime Reports integration (#46312) 2021-02-10 14:56:54 +01:00
Erik Montnemery c66d9ea25c
Hide volume control for cast devices with fixed volume (#46328) 2021-02-10 08:39:10 -05:00
tkdrob ad400d91bc
Use core constants for sensor integration (#46290) 2021-02-10 08:36:05 -05:00
tkdrob 6e1f3b7861
Use core constants for joaoapps_join (#46291) 2021-02-10 08:35:11 -05:00
Franck Nijhof 22389043eb
Remove base_url fallback (#46316) 2021-02-10 14:31:11 +01:00
Ville Skyttä a6358430b4
Fix deprecated asyncio.wait use with coroutines (#44981)
https://docs.python.org/3/library/asyncio-task.html#asyncio-example-wait-coroutine
2021-02-10 14:16:58 +01:00
Bram Kragten 4b493c5ab9
Add target to service call API (#45898)
* Add target to service call API

* Fix _async_call_service_step

* CONF_SERVICE_ENTITY_ID overrules target

* Move merging up before processing schema

* Restore services.yaml

* Add test
2021-02-10 12:42:28 +01:00
Shay Levy 7d2d98fc3c
Revert multiple interfaces (#46300) 2021-02-10 12:38:16 +01:00
uvjustin 1fea24502c
Bump pyav version to 8.03 (#46315) 2021-02-10 18:14:03 +08:00
Erik Montnemery 78b7fbf7b1
Fix race in EntityRegistry.async_device_modified (#46319) 2021-02-10 10:50:44 +01:00
Greg Dowling b0b81246f0
Bump roonapi to 0.0.32 (#46286) 2021-02-10 10:27:25 +01:00
Martin 175f2f0275
Add fan platform to knx (#46161) 2021-02-09 22:09:34 -10:00
Allen Porter 26f455223b
Update nest stream URLs expiration (#46311) 2021-02-09 23:53:34 -08:00
HomeAssistant Azure 5fcb948e28 [ci skip] Translation update 2021-02-10 00:05:10 +00:00
Khole 3381e2f65a
Convert Hive to Async (#46117)
* Convert Hive to Async

* Update Refresh System

* Update load platform to Async

* Changes from review feedback

* Review Round 2

* Updated service

* Updated dict keys

* Convert Hive to Async

* Update Refresh System

* Update load platform to Async

* Changes from review feedback

* Review Round 2

* Updated service

* Updated dict keys

* Convert Hive to Async

* Update Refresh System

* Update load platform to Async

* Changes from review feedback

* Review Round 2

* Updated service

* Updated dict keys

* Updated Refresh System
2021-02-09 22:03:49 +01:00
tkdrob 6f4cb18fa8
Use core constants for here_travel_time (#46246) 2021-02-09 20:23:46 +01:00
tkdrob a26cf7aeec
Remove unnecessary variable definition in firmata (#46172) 2021-02-09 20:23:02 +01:00
bsmappee 1c1b2f497a
bump pysmappee (#46270) 2021-02-09 20:21:51 +01:00
tkdrob 57ce182959
Remove unnecessary constant from ihc (#46268) 2021-02-09 20:21:04 +01:00
tkdrob f46dc3c48e
Use core constants for elkm1 (#46091) 2021-02-09 20:20:20 +01:00
tkdrob c69c493cf9
Use core constants for image_processing (#46269) 2021-02-09 08:03:14 -05:00
tkdrob da67cde369
Use core constants for homematic (#46248) 2021-02-09 12:02:53 +01:00
Anders Melchiorsen f27066e773
Raise ConditionError for state errors (#46244) 2021-02-09 09:46:36 +01:00
J. Nick Koston 6a62ebb6a4
Add BPUP (push updates) support to bond (#45550) 2021-02-09 09:43:38 +01:00
Maciej Bieniek 2fc1c19a45
Allow to setup of a previously discovered sleeping Shelly device (#46124)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-02-09 09:28:40 +01:00
Allen Porter b33753f334
Move camera timeouts to constants (#46262)
Addresses feedback from pr #45431.  Also removes an redundant `create_stream` timeout.
2021-02-08 21:21:14 -08:00
Allen Porter 2bcf87b980
Change the API boundary between camera and stream with initial improvement for nest expiring stream urls (#45431)
* Change the API boundary between stream and camera

Shift more of the stream lifecycle management to the camera.  The motivation is to support stream urls that expire
giving the camera the ability to change the stream once it is created.

* Document stream lifecycle and simplify stream/camera interaction

* Reorder create_stream function to reduce diffs

* Increase test coverage for camera_sdm.py

* Fix ffmpeg typo.

* Add a stream identifier for each stream, managed by camera

* Remove stream record service

* Update homeassistant/components/stream/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Unroll changes to Stream interface back into camera component

* Fix preload stream to actually start the background worker

* Reduce unncessary diffs for readability

* Remove redundant camera stream start code

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-08 19:53:28 -08:00
Pascal Reeb 889baef456
Add DHCP discovery support to Nuki integration (#46032) 2021-02-08 17:11:27 -10:00
HomeAssistant Azure 936ee7d733 [ci skip] Translation update 2021-02-09 00:07:22 +00:00
J. Nick Koston 6563c37ab1
Add support for generic lights to bond (#46193) 2021-02-09 00:39:21 +01:00
J. Nick Koston 93fafedf72
Cleanup bond identifiers and device info (#46192) 2021-02-09 00:37:32 +01:00
tkdrob c602c619a2
Use core constants for hikvision (#46247) 2021-02-09 00:13:58 +01: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
Shay Levy 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