Commit Graph

26220 Commits (bb7f1b748f77a8801cd0833573a255b83978f939)

Author SHA1 Message Date
J. Nick Koston 3e334a4950
Fix typing of fan speed count and steps (#46790) 2021-02-19 19:57:21 -10:00
J. Nick Koston 0e9148e239
Add suggested area support to nuheat (#46801) 2021-02-19 21:57:02 -08:00
Erik Montnemery 54cf954353
Add device_entities template function/filter (#46406) 2021-02-19 21:50:59 -08:00
J. Nick Koston 2f3c2f5f4d
Add support for using a single endpoint for rest data (#46711) 2021-02-19 21:44:15 -08:00
J. Nick Koston 71586b7661
Cleanup inconsistencies in zha fan and make it a bit more dry (#46714)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-19 19:42:14 -10:00
J. Nick Koston bb7e4d7daa
Implement suggested_area in the device registry (#45940)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-19 19:34:33 -10:00
Eric Severance e6125a1e4e
Bump pywemo to 0.6.2 (#46797) 2021-02-20 03:49:39 +01:00
HomeAssistant Azure fd60d4273b [ci skip] Translation update 2021-02-20 00:08:25 +00:00
Raman Gupta 47dcd2bf32
Format zwave_js dump as json (#46792) 2021-02-19 18:44:15 -05:00
Raman Gupta 4d23ffacd1
Add zwave_js thermostat fan mode and fan state support (#46793)
* add thermostat fan mode and fan state support

* return when fan mode is not supported

* use get just in case

* validate state key is in states so we dont have to use get

* pylint
2021-02-20 00:20:10 +01:00
Andreas Oetken 250327fac4
Allow multiple recipients for XMPP (#45328)
* recipient is a string list instead of a single string now
* this does NOT break existing automations/etc using this component
2021-02-19 15:56:20 +01:00
Joakim Sørensen 3e82509263
Use string instead of slug for add-on slug validation (#46784) 2021-02-19 15:23:59 +01:00
Franck Nijhof 6ad7020f99
Add Home Assistant color (#46751) 2021-02-19 13:30:27 +01:00
Tobias Sauerwein d2a187a57b
Bump RMVtransport to 0.3.1 (#46780) 2021-02-19 13:28:00 +01:00
Anders Melchiorsen bfea7d0baa
Raise ConditionError for and/or/not errors (#46767) 2021-02-19 13:15:30 +01:00
Anders Melchiorsen e7e3e09063
Raise ConditionError for zone errors (#46253)
* Raise ConditionError for zone errors

* Do not test missing state

* Handle multiple entities/zones
2021-02-19 13:14:47 +01:00
J. Nick Koston 0ed0c7c026
Fix backwards compatibility with vesync fans (#45950) 2021-02-19 08:54:40 +01:00
J. Nick Koston f2b303d509
Implement percentage step sizes for fans (#46512)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-18 21:05:09 -10:00
shbatm 5df46b60e8
Fix flip-flopped substitutions in Custom Version Type Warning message. (#46768) 2021-02-19 03:00:14 +01:00
Matt Zimmerman da51e23514
Address late smarttub review (#46703)
* _config -> config

* remove unused string

* remove entity tests

* replace unit tests with integration tests using the core

* refactor polling to use asyncio.gather

* remove redundant component init

* remove gather in favor of simple loop

* use async_fire_time_changed instead of async_update_entity

* use hass.config_entries.async_setup instead of calling smarttub.async_setup_entry directly

* replace stray smarttub.async_setup_entry call

* async_unload_entry -> hass.config_entries.async_unload

* remove broken test
2021-02-19 01:18:02 +01:00
HomeAssistant Azure d9ce7db554 [ci skip] Translation update 2021-02-19 00:03:06 +00:00
Franck Nijhof 52a9a66d0f
Upgrade cryptography to 3.3.2 (#46759) 2021-02-18 10:30:54 -10:00
Eric Severance 76e5f86b76
Add @esev as codeowner for wemo (#46756) 2021-02-18 19:08:48 +01:00
Ellis Michael 8b97f62a8e
Allow LIFX bulbs to fade color even when off (#46596)
LIFX bulbs have the capability to fade their color attributes even while the bulb is off. When the bulb is later turned on, the fade will continue as if the bulb was on all along.
2021-02-18 18:40:16 +01:00
Franck Nijhof 3353c63f8f
Upgrade sentry-sdk to 0.20.3 (#46754) 2021-02-18 18:25:15 +01:00
Franck Nijhof 01ebb156a0
Add selectors to Home Assistant service definitions (#46733)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-02-18 18:19:49 +01:00
Franck Nijhof b6f374b507
Add selectors to Twente Milieu service definitions (#46748) 2021-02-18 18:05:03 +01:00
Franck Nijhof 113059c1c7
Add selectors to HomeKit service definitions (#46745) 2021-02-18 17:32:48 +01:00
AdmiralStipe e000b9c813
Added Slovenian language (sl-si) to Microsoft TTS (#46720) 2021-02-18 17:16:45 +01:00
Franck Nijhof a80921ab65
Minor service definition tweaks (#46741) 2021-02-18 17:14:36 +01:00
Franck Nijhof b9d5b3c34e
Add selectors to Conversation, Image Processing and Number service definitions (#46746) 2021-02-18 17:13:59 +01:00
Franck Nijhof 8b69608242
Add selectors to Browser, Recorder, Shopping List service definitions (#46749) 2021-02-18 17:06:25 +01:00
Franck Nijhof 208af0367a
Add selectors to Toon service definitions (#46750) 2021-02-18 17:02:45 +01:00
Franck Nijhof 81c7b3b9c9
Add selectors to Media Player service definitions (#46739) 2021-02-18 17:02:18 +01:00
Franck Nijhof a164a6cf80
Add selectors to Hue service definitions (#46747) 2021-02-18 17:01:29 +01:00
Philip Allgaier cdc4f634d1
Fix typo in Tesla Powerwall strings (#46752) 2021-02-18 17:01:22 +01:00
uvjustin 3c7db7bd5b
Skip repeated segment in stream recorder (#46701)
* Skip repeated segment in stream recorder

* Allow for multiple overlap
2021-02-18 17:00:26 +01:00
Franck Nijhof a5ac338c74
Add selectors to Timer service definitions (#46744) 2021-02-18 16:54:20 +01:00
Franck Nijhof 4b6b03e33e
Add selectors to Lock service definitions (#46743) 2021-02-18 16:51:13 +01:00
Franck Nijhof e57bfe05d5
Add selectors to Color Extractor service definitions (#46742) 2021-02-18 16:43:34 +01:00
Franck Nijhof cd6a83f009
Add selectors to MQTT service definitions (#46738) 2021-02-18 16:37:15 +01:00
Franck Nijhof 3f96ebeae5
Add selectors to Logger, System Log & Logbook service definitions (#46740) 2021-02-18 16:33:29 +01:00
Franck Nijhof 62e0949ea9
Add selectors to Z-Wave JS service definitions (#46737) 2021-02-18 16:24:04 +01:00
Franck Nijhof 0f4433ce14
Add advanced selectors to Climate service definitions (#46736) 2021-02-18 16:23:10 +01:00
Franck Nijhof b4136c3585
Add selectors to WLED service definitions (#46731) 2021-02-18 16:16:13 +01:00
Franck Nijhof c0cdc0fe79
Add advanced selectors to Light service definitions (#46732) 2021-02-18 16:15:16 +01:00
Franck Nijhof 1d62bf8875
Add selectors to Script service definitions (#46730) 2021-02-18 16:14:16 +01:00
Franck Nijhof 74720d4afd
Add selectors to Vacuum service definitions (#46728) 2021-02-18 16:13:52 +01:00
Tobias Sauerwein bfa171f802
Add selectors to Netatmo services (#46574)
* Add selectors

* Fix schedul selector

* Update homeassistant/components/netatmo/services.yaml

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update homeassistant/components/netatmo/services.yaml

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update services.yaml

* Added required field

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-02-18 15:01:54 +01:00
Jesse Campbell 12477c5e46
Fix missing color switch specific device class for Z-Wave JS driver >6.3 (#46718) 2021-02-18 07:58:43 -05:00
Franck Nijhof 616e8f6a65
Add selectors to Scene service definitions (#46729) 2021-02-18 13:56:15 +01:00
Allen Porter 88d143a644
Add discontinuity support to HLS streams and fix nest expiring stream urls (#46683)
* Support HLS stream discontinuity.

* Clarify discontinuity comments

* Signal a stream discontinuity on restart due to stream error

* Apply suggestions from code review

Co-authored-by: uvjustin <46082645+uvjustin@users.noreply.github.com>

* Simplify stream discontinuity logic
2021-02-18 20:26:02 +08:00
Franck Nijhof 62cfe24ed4
Add advanced service parameter flag (#46727) 2021-02-18 12:59:46 +01:00
Franck Nijhof 82934b31f8
Add selectors to Counter service definitions (#46633) 2021-02-18 12:59:29 +01:00
Álvaro Fernández Rojas 4083b90138
ubus: switch to pypi library (#46690)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-18 12:33:21 +01:00
Franck Nijhof 0181cbb312
Upgrade and constrain httplib2>=0.19.0 (#46725) 2021-02-18 12:31:07 +01:00
Franck Nijhof 399777cfa8
Add selectors to Alarm Control Panel service definitions (#46626) 2021-02-18 12:26:05 +01:00
Franck Nijhof ae643bfaf3
Add selectors to Climate service definitions (#46632) 2021-02-18 12:25:55 +01:00
Franck Nijhof bc1cb8f0a0
Add selectors to Automation service definitions (#46629) 2021-02-18 12:25:25 +01:00
Franck Nijhof e45fc4562b
Add selectors to Cover service definitions (#46634)
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-02-18 12:25:16 +01:00
Franck Nijhof 2dfbd4fbcf
Add selectors to Fan service definitions (#46639) 2021-02-18 12:24:58 +01:00
Franck Nijhof 4e93a0c774
Add selectors to Downloader service definitions (#46638) 2021-02-18 12:24:50 +01:00
Franck Nijhof c8c3ce4172
Add selectors to Switch service definitions (#46635) 2021-02-18 12:24:42 +01:00
Franck Nijhof dec2eb36fd
Add selectors to Camera service definitions (#46630) 2021-02-18 12:24:04 +01:00
Franck Nijhof 9f3fdb1b68
Add selectors to Alert service definitions (#46627) 2021-02-18 12:23:50 +01:00
Franck Nijhof da662c4890
Add selectors to Input * service definitions (#46652) 2021-02-18 12:23:30 +01:00
J. Nick Koston 39785c5cef
Switch ssdp to be async by using async_upnp_client for scanning (#46554)
SSDP scans no longer runs in the executor

This is an interim step that converts the async_upnp_client
response to netdisco's object to ensure fully backwards
compatibility
2021-02-18 11:00:11 +01:00
uvjustin e9334347eb
Bump pylutron 0.2.7 (#46717) 2021-02-18 07:54:10 +01:00
HomeAssistant Azure 28ffa97635 [ci skip] Translation update 2021-02-18 00:07:45 +00:00
Eric Severance 2ac075bb37
Perform wemo state update quickly after a timeout (#46702)
* Perform state update quickly after a timeout

* with async_timeout.timeout(...) -> async with async_timeout.timeout(...)
2021-02-18 00:38:08 +01:00
Eric Severance 8bee3cda37
Centralize wemo exception handling (#46705) 2021-02-17 23:36:39 +01:00
J. Nick Koston b2df9aaaf1
Update zha to use new fan entity model (#45758)
* Update zha to use new fan entity model

* fixes

* tweaks for zha

* pylint

* augment test cover
2021-02-17 13:03:11 -05:00
Gaetan Semet 4ab0151fb1
Discover HRT4-ZW / SRT321 SetPoint in zwave_js (#46625)
Missing a specific class to allow discovery of the setpoint command.

Fix #46570

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2021-02-17 15:06:16 +01:00
Tobias Sauerwein 1e9483a0e9
Bump RMVtransport to v0.3.0 (#46691) 2021-02-17 13:23:15 +01:00
Eric Severance eb3e5cb67f
Remove calls to wemo.reconnect_with_device (#46646) 2021-02-17 13:17:31 +01:00
Eric Severance f7c0fc5553
Increase async_timeout for wemo update polling (#46649) 2021-02-17 13:17:16 +01:00
tkdrob facbd73130
Clean up xbee (#46549) 2021-02-17 13:15:13 +01:00
Allen Porter efb172cedd
Fix flaky stream tests due to race in idle timeout callback (#46687) 2021-02-17 01:05:50 -08:00
badguy99 971e27dd80
Home connect use consts (#46659)
* Use more consts

* black

* re-black with black, version 20.8b1
2021-02-17 09:44:37 +01:00
starkillerOG ddf1f88b65
Fix multiple motion blinds gateways (#46622)
local variable multicast was undefined for a second or more gateway that was setup.
2021-02-17 00:25:00 -08:00
Eric Severance 94131df5e0
Remove exception handling for AttributeError in wemo (#46674) 2021-02-17 00:07:22 -08:00
Ilja Leiko 8c72cb6163
Add sensors to fetch Habitica tasks (#38910)
* Adding sensors to fetch habitica tasks

* PR changes and rebase

* Fixing pylint

* Fixing failed test dependancy

* Generating requirements

* Apply suggestions from code review

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

* PR changes

* Update homeassistant/components/habitica/config_flow.py

Thank you, @MartinHjelmare

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

* PR Changes

* Fix failing test

* Update tests/components/habitica/test_config_flow.py

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

* Fixing linting and imports

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-17 09:04:11 +01:00
Paulus Schoutsen b956a571f4
Fix Cloud Google/Alexa check (#46681) 2021-02-17 06:49:53 +01:00
David McClosky 58f6db0127
Fix media_pause in vlc_telnet (#46675)
The underlying python-telnet-vlc pause() function toggles play/pause, so
we need to check our state before calling it.
2021-02-17 06:39:46 +01:00
Matt Zimmerman 58499946ed
Add SmartTub integration (#37775)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-16 19:37:56 -10:00
Allen Porter 4236f6e5d4
Fix stream keepalive on startup (#46640)
This was accidentally dropped in a previous PR that refactored the interaction
between stream and camera. This is difficult to test from the existing
preload stream tests, so leaving untested for now.
2021-02-16 20:46:44 -08:00
HomeAssistant Azure 318cbf2913 [ci skip] Translation update 2021-02-17 00:08:46 +00:00
Eric Severance e4496ed1e3
Fix KeyError in comfoconnect percentage (#46654) 2021-02-16 11:07:18 -10:00
Allen Porter aaecd91407
Fix exception in stream idle callback (#46642)
* Fix exception in stream idle callback

Fix bug where idle timeout callback fails if the stream previously exited.

* Add a test for stream idle timeout after stream is stopped.

* Add clarifying comment to idle timer clear method

* Clear hls timer only on stop
2021-02-16 12:10:26 -08:00
marecabo c45ce86e53
Do not provide icon if device class is set in ESPHome config (#46650) 2021-02-16 20:36:32 +01:00
Mark Coombes 960b5b7d86
Fix climate hold bug in ecobee (#46613) 2021-02-16 07:06:20 -10:00
Allen Porter 08201d146b
Separate HLS logic out of core StreamOutput to prepare for discontinuity (#46610)
Separate the HLS stream view logic out of StreamOutput since the hls
stream view is about to get more complex to track discontinuities. This
makes the idle timeout, shutdown, and coupling between hls and record
more explicit.
2021-02-16 06:59:43 -08:00
tkdrob 68e78a2ddc
Remove unnecessary constants from universal (#46537) 2021-02-16 09:49:31 -05:00
Martin Hjelmare f0e9ef421c
Fix vlc_telnet state update (#46628)
* Clean up

* Add debug logs

* Fix info lookup

* Handle more errors

* Guard get length and time
2021-02-16 15:48:06 +01:00
starkillerOG 9d8ba6af96
Use update coordinator for Xioami Miio subdevices (#46251)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-16 15:28:25 +01:00
tkdrob add0d9d3eb
Use core constants for yeelight (#46552) 2021-02-16 09:00:09 -05:00
David McClosky 713544e5eb
Bump python-vlc-telnet to 2.0.1 (#46608)
Includes corresponding Home Assistant changes to avoid introducing
regressions.
2021-02-16 12:32:53 +01:00
Franck Nijhof a6912277eb
Remove defunct CoinMarketCap integration (#46615) 2021-02-16 11:00:08 +01:00
Joakim Plate 0bfcd5e1ee
Use explicit open/close for covers (#46602) 2021-02-16 10:26:38 +01:00
Bram Kragten 6986fa4eb6
Add target to services.yaml (#46410)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-02-16 09:35:27 +01:00
J. Nick Koston 20d93b4b29
Remove support for migrating pre-config entry homekit (#46616)
HomeKit pairings and accessory ids from versions 0.109 and earlier are no longer
migrated on upgrade. Users upgrading directly to 2021.3 from 0.109
and older should upgrade to 2021.2 first if they wish to preserve
HomeKit configuration and avoid re-pairing the bridge.

This change does not affect upgrades from 0.110 and later.
2021-02-16 08:37:43 +01:00
marecabo 1e172dedf6
Add device_class attribute to ESPHome sensor entities (#46595) 2021-02-15 20:19:31 -10:00
ollo69 3c26235e78
Bump tuyaha to 0.0.10 and fix set temperature issues (#45732) 2021-02-15 16:20:45 -10:00
HomeAssistant Azure 1bb535aa67 [ci skip] Translation update 2021-02-16 00:03:57 +00:00
tkdrob 2a7d2868be
Use core constants for xiaomi_aqara (#46551) 2021-02-16 00:14:27 +01:00
Franck Nijhof ea47e5d8af
Upgrade sentry-sdk to 0.20.2 (#46590) 2021-02-15 22:02:58 +01:00
J. Nick Koston 6f4df7e52e
Use shared clientsession for sense (#46419) 2021-02-15 10:35:58 -10:00
Kevin Fronczak e3ae3cfb83
Upgrade blinkpy to 0.17.0 (#46581) 2021-02-15 20:24:42 +01:00
starkillerOG 2f9fda73f4
Add config flow to Xiaomi Miio switch (#46179) 2021-02-15 20:11:27 +01:00
Joakim Sørensen 68809e9f43
Fix issue with timeout and error response (#46584) 2021-02-15 20:08:08 +01:00
Allen Porter 89aaeb3c35
Refactor stream worker responsibilities for segmenting into a separate class (#46563)
* Remove stream_worker dependencies on Stream

Removee stream_worker dependencies on Stream and split out the logic
for writing segments to a stream buffer.

* Stop calling internal stream methods

* Update homeassistant/components/stream/worker.py

Co-authored-by: uvjustin <46082645+uvjustin@users.noreply.github.com>

* Reuse self._outputs when creating new streams

Co-authored-by: uvjustin <46082645+uvjustin@users.noreply.github.com>
2021-02-15 09:52:37 -08:00
Niels Mündler f2ca4acff0
Limit fronius error messages on failed connection (#45824)
* Do not print several error messages on failed connection

* Change wrapping of exception, implement available

* Simplify exception flow

* Remove unnecessary init

* Add available property to actual entities

* Rebase and formatting
2021-02-15 18:28:28 +01:00
Joakim Sørensen 886067a327
Add websocket handlers to hassio (#46571) 2021-02-15 18:18:45 +01:00
Shay Levy a5d943b5f1
MQTT cover Bugfixes (#46479)
* MQTT cover Bugfixes

* Remove period
2021-02-15 17:33:42 +01:00
uvjustin 9917bb76fb
Use httpx in generic camera (#46576)
* Use httpx in generic camera

* Remove commented out code
2021-02-15 16:37:53 +01:00
J. Nick Koston c5b9ad83c2
Log ffmpeg errors for homekit cameras (#46545) 2021-02-15 12:39:51 +01:00
Lukáš Polívka bed29fd4b1
Convert better from byte value to percentage in futurenow (#45042)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-02-15 12:33:13 +01:00
Erik Montnemery c8e04ee960
Bump hatasmota to 0.2.9 (#46561) 2021-02-15 12:16:28 +01:00
Erik Montnemery 5a907ebafc
Remove @home-assistant/core from MQTT codeowners (#46562) 2021-02-15 11:51:56 +01:00
Raman Gupta cfdaadf5d9
Allow users to set device class for universal media player (#46550) 2021-02-14 17:05:23 -10:00
tkdrob 06c8fc6ef1
Use core constants for wemo and whois (#46548) 2021-02-14 20:14:48 -05:00
Raman Gupta a3b733f1ec
Add additional supported feature support to universal media player (#44711)
* add additional supported feature support to universal media player

* add missing services
2021-02-14 19:35:14 -05:00
HomeAssistant Azure 0af634a9f8 [ci skip] Translation update 2021-02-15 00:14:36 +00:00
J. Nick Koston 12abe5707d
Fix typing on tuya fan percentage (#46541) 2021-02-14 17:05:31 -05:00
tkdrob 7e88487800
Use core constants for wemo (#46544) 2021-02-14 17:01:53 -05:00
tkdrob a5f372018c
Use core constants for volvooncall (#46543) 2021-02-14 17:01:18 -05:00
tkdrob f1c792b4c8
Use core constants for uvc (#46538) 2021-02-14 22:21:55 +01:00
J. Nick Koston aa061e5818
Fix variable name from script refactoring (#46503) 2021-02-14 10:52:18 -10:00
tkdrob 1444afbe5a
Use core constants for vasttrafik (#46539) 2021-02-14 21:47:08 +01:00
J. Nick Koston c9df42b69a
Add support for pre-filtering events to the event bus (#46371) 2021-02-14 09:42:55 -10:00
Anders Melchiorsen f8f86fbe48
Do not trigger when template is true at startup (#46423) 2021-02-14 19:54:11 +01:00
javicalle 9777608861
Add myself to RFLink codeowners (#46511) 2021-02-14 16:24:00 +01:00
Tom Parker-Shemilt 27d16af36b
Don't allow recursive secrets loading (#41812)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-14 14:23:31 +01:00
tkdrob a5a45f29e2
Cleanup unused loggers (#46510) 2021-02-14 13:46:58 +01:00
Allen Porter 10e88cd23d
Improve nest defense against broken event loop on shutdown (#46494) 2021-02-14 13:36:05 +01:00
kpine dfa973f9ef
Add barrier covers to zwave_js integration (#46379) 2021-02-14 13:24:29 +01:00
Andrey Kupreychik accba85e35
Add keenetic_ndms2 config flow (#38353) 2021-02-14 13:09:19 +01:00
tkdrob 2c3a2bd35e
Clean up template (#46509) 2021-02-14 12:16:30 +01:00
Khole 811e1cc3e6
Add hive hub 360 sensors (#46320) 2021-02-14 11:39:31 +01:00
tkdrob 3ea02e646d
Use core constants for trend (#46521) 2021-02-14 11:30:40 +01:00
tkdrob 294d3c6529
Use core constants for thethingsnetwork (#46520) 2021-02-14 11:28:55 +01:00
tkdrob 854504cccc
Use core constants for switcher_kis (#46507) 2021-02-14 10:21:53 +01:00
tkdrob c76758f775
Use core constants for temper (#46508) 2021-02-14 10:21:02 +01:00
MatthewFlamm 7a401d3d5d
Fix missing condition in nws (#46513) 2021-02-13 17:35:57 -10:00
J. Nick Koston 1845f69729
Update tuya for new fan entity model (#45870) 2021-02-13 16:23:19 -10:00
HomeAssistant Azure 17a4678906 [ci skip] Translation update 2021-02-14 00:06:28 +00:00
tkdrob dfe173d619
Use core constants for rmvtransport (#46502) 2021-02-13 18:22:28 -05:00
tkdrob 5db4d78dc7
Use core constants for rpi_rf (#46500) 2021-02-13 18:21:42 -05:00
tkdrob 84488b9c28
Use core constants for sma (#46501) 2021-02-13 18:21:15 -05:00
Franck Nijhof 7148071be8
Improve Elgato code quality (#46505) 2021-02-13 23:50:25 +01:00
Álvaro Fernández Rojas eecf07d7df
Add AEMET OpenData integration (#45074)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 21:53:28 +01:00
J. Nick Koston 2f40f44670
Update HAP-python to 3.3.0 for homekit (#46497)
Changes: https://github.com/ikalchev/HAP-python/compare/v3.2.0...v3.3.0
2021-02-13 20:30:55 +01:00
ollo69 f38b06ed6d
Add Asuswrt Config Flow and Scanner Entities (#46468)
* Add Asuswrt config flow (#43948)

* Add AsusWrt Scanner Entity (#44759)

* Add Scanner Entity

- device tracker entity changed from "DeviceScanner" to "ScannerEntity"
- sensors recoded to use "router" class
- config entry review to allow multiple entity (for future use)

* Force checks

* Removed new option and change sensors

* Update test_sensor.py

* Requested changes

* Removed router unique-id

* Update last_activity attr only when available

* Add Options for AsusWRT Scanner Entity (#44808)

* Add Asuswrt config flow (#43948)

* Add AsusWrt Scanner Entity (#44759)

* Add Scanner Entity

- device tracker entity changed from "DeviceScanner" to "ScannerEntity"
- sensors recoded to use "router" class
- config entry review to allow multiple entity (for future use)

* Force checks

* Removed new option and change sensors

* Update test_sensor.py

* Requested changes

* Removed router unique-id

* Update last_activity attr only when available

* Add Options for Scanner Entity

* Fix isort

* Removed "Track New" option

* Add Options for Scanner Entity

* Fix isort

* Removed "Track New" option

* Add test for all the options in the config flow
2021-02-13 19:17:06 +01:00
Shay Levy 6f261a09b0
Remove deprecated xfinity integration (#46484) 2021-02-13 14:07:55 +01:00
Shay Levy 52c5bc0a99
Remove deprecated Synology integration (#46482) 2021-02-13 13:23:40 +01:00
Franck Nijhof bc1daf1802
None optional hass typing in FlowHandler (#46462)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 13:21:37 +01:00
Rob Bierbooms 1244fb4152
Bump dsmr_parser to 0.28, configure keep_alive_interval (#46464) 2021-02-13 13:19:38 +01:00
tkdrob 13b881acfc
Use core constants for simplepush (#46465) 2021-02-13 13:07:11 +01:00
tkdrob 621c8e700b
Use core constants for starline (#46471) 2021-02-13 12:33:13 +01:00
Maciej Bieniek b8584cab5d
Remove unnecessary gethostbyname() from Shelly integration (#46483) 2021-02-13 12:27:54 +01:00
tkdrob 820a260252
Use core constants for homeassistant triggers (#46472) 2021-02-13 12:07:42 +01:00
tkdrob 2ecac6550f
Use core constants for dynalite (#46044) 2021-02-13 12:06:20 +01:00
On Freund 1a8cdba9af
Gracefully handle missing A/V info in Onkyo integration (#46228)
* Gracefully handle missing A/V info

* Do not attempt to query A/V info if unsupported

* Rename _parse_onkyo_tuple
2021-02-13 12:03:49 +01:00
HomeAssistant Azure 8bacfcec50 [ci skip] Translation update 2021-02-13 00:03:13 +00:00
tkdrob ae45d7dade
Use core constants for rflink (#46440) 2021-02-12 23:32:56 +01:00
tkdrob da4cb6d294
Use core constants for somfy (#46466) 2021-02-12 23:25:15 +01:00
J. Nick Koston bc8a52038b
Fix homekit migration not being awaited (#46460) 2021-02-12 08:45:19 -10:00
Franck Nijhof dd8d4471ec
Postponed evaluation of annotations for integrations (#46455) 2021-02-12 18:54:00 +01:00
Maciej Bieniek 061d9c5293
Bump brother library to version 0.2.1 (#46421) 2021-02-12 18:11:35 +01:00
Franck Nijhof 362a1cd9bd
Upgrade sentry-sdk to 0.20.1 (#46456) 2021-02-12 17:59:08 +01:00
Erik Montnemery f1714dd541
Make some Area and EntityRegistry member functions callbacks (#46433) 2021-02-12 17:00:35 +01:00
jan iversen 8418489345
Allow Modbus "old" config or discovery_info as configuration (#46445) 2021-02-12 16:33:18 +01:00
tkdrob f929aa222f
Use core constants for roomba (#46441) 2021-02-12 16:09:36 +01:00
Christophe Painchaud c3b460920e
Enable TCP KEEPALIVE to RFLink for dead connection detection (#46438)
RFLink compoment when used over TCP protocol suffers a major issue : it doesn't
know when connection is timeout or lost because there is no keepalive mechanism
so it can stay disconnected forever.
I wrote a small patch for the underlying 'python-rflink' library which will enable
TCP KEEPPAlive. On HASSIO side it will just add an optional argument in yml file
which will propagate to python-rflink caller.
2021-02-12 15:58:59 +01:00
David Dix a8beae3c51
Add apple tv remote delay command (#46301)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-12 14:58:01 +01:00
Robert Kingston 479ff92acb
Fix cmus remote disconnections (#40284)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-12 13:31:36 +01:00
Marcel van der Veldt b7dd9bf58f
Enhance platform discovery for zwave_js (#46355) 2021-02-12 13:29:11 +01:00
tkdrob 74f5f8976f
Use core constants for rpi_gpio (#46442) 2021-02-12 12:15:30 +01:00
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