Commit Graph

26477 Commits (7c8851264fbaa3574e58095a47b39f73720cab7f)

Author SHA1 Message Date
starkillerOG 1c9a9be197
Fix Xiaomi Miio discovery (#47134) 2021-02-28 12:25:40 -08:00
Erik Montnemery 19cd29affa
Fix MQTT trigger where wanted payload may be parsed as an integer (#47162) 2021-02-28 12:19:27 -08:00
J. Nick Koston 6ff3eb0569
Update HAP-python to 3.3.1 (#47180)
Fixes disconnect when setting a single char fails
https://github.com/ikalchev/HAP-python/compare/v3.3.0...v3.3.1
2021-02-28 19:27:36 +01:00
Michael 261d86f06b
Apply recommendations to synology_dsm (#47178) 2021-02-28 19:19:50 +01:00
Erik Montnemery da5902e4f8
Tweak Tasmota fan typing (#47175) 2021-02-28 17:48:23 +01:00
David F. Mulcahey 4853a81366
Bump ZHA quirks to 0.0.54 (#47172) 2021-02-28 10:55:14 -05:00
Paulus Schoutsen 98be703d90
Fix the updater schema (#47128) 2021-02-28 14:41:06 +01:00
tkdrob fa1d91d1fe
Clean up mqtt_room (#46882) 2021-02-28 14:16:37 +01:00
Maciej Bieniek 66027bcef5
Bump airly library to version 1.1.0 (#47163) 2021-02-28 12:53:13 +01:00
HomeAssistant Azure eb7220ff26 [ci skip] Translation update 2021-02-28 00:07:08 +00:00
Robert Svensson da309ce342
Change device class of window covers to shade (#47129) 2021-02-27 14:09:25 -06:00
Allen Porter 97b59023d1
Improve handling for recording start of nest cam stream (#47144)
* Improve handling for start of nest cam stream

Add negative_cts_offsets to segment container options in order to better handle recording at the start of a stream. Nest streams start off with a negative offset, and if the segment container does not support it, then it adjusts the timestamps making it out of order with the next segment as described in issue #46968

* Update homeassistant/components/stream/__init__.py

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

Co-authored-by: uvjustin <46082645+uvjustin@users.noreply.github.com>
2021-02-27 11:20:58 -08:00
J. Nick Koston 49315a90d9
Handle lutron_caseta fan speed being none (#47120) 2021-02-26 16:33:31 -08:00
J. Nick Koston 86f8cd8037
Provide a human readable exception for the percentage util (#47121) 2021-02-26 16:33:13 -08:00
Bram Kragten 84e01baa5a
Update frontend to 20210226.0 (#47123) 2021-02-26 16:32:51 -08:00
HomeAssistant Azure 43621091b7 [ci skip] Translation update 2021-02-27 00:05:45 +00:00
Shay Levy e9b8e035b4
Fix Shelly RGBW (#47116) 2021-02-26 14:28:16 -08:00
Allen Porter b1898cc176
Bump google-nest-sdm to v0.2.12 to improve API call error messages (#47108) 2021-02-26 11:20:32 -08:00
Marcel van der Veldt 7ca148f65d
Fix Z-Wave JS discovery schema for thermostat devices (#47087)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-26 11:19:23 -08:00
Simone Chemelli 8971ab2edc
Bump aioshelly to 0.6.1 (#47088) 2021-02-26 11:07:53 -08:00
Joakim Plate e12eba1989
Add support for v6 features to philips js integration (#46422) 2021-02-26 09:34:40 -08:00
J. Nick Koston 7ab2d91bf0
Add suggested area to hue (#47056) 2021-02-26 10:35:09 -06:00
Charles Garwood d8633f94f6
Guard zwave_js missing nodes in websocket api (#47096) 2021-02-26 16:07:50 +01:00
Guido Schmitz 71cf982a28
Add suggested_area support to devolo Home Control (#47063) 2021-02-26 08:48:36 -06:00
rikroe 9c67f83f4e
Bump bimmer_connected to 0.7.15 and fix bugs (#47066)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-02-26 13:57:47 +01:00
Erik Montnemery dfbb653107
Bump pychromecast to 9.0.0 (#47086)
* Adapt to Pychromecast 9.0.0

* Bump pychromecast to 9.0.0

* Fix lint issues
2021-02-26 13:43:53 +01:00
CurrentThread d5ee49cd4e
Add support for Shelly SHBTN-2 device triggers (#46644) 2021-02-26 11:52:47 +01:00
Erik Montnemery 5780615251
Bump pychromecast to 8.1.2 (#47085) 2021-02-26 10:47:22 +01:00
chpego afb6e31393
Upgrade youtube_dl to version 2021.02.22 (#47078)
* Upgrade youtube_dl to version 2021.02.22

* Update requirements_all.txt
2021-02-26 10:39:31 +01:00
Paulus Schoutsen 3a3c12bb17
Upgrade aiohttp to 3.7.4 (#47077) 2021-02-26 09:16:11 +01:00
Paulus Schoutsen 6bd253094f
Bump Z-Wave JS Server Python to 0.20.0 (#47076) 2021-02-25 22:01:08 -08:00
J. Nick Koston 6af67c9558
Ensure hue options show the defaults when the config options have not yet been saved (#47067) 2021-02-25 21:58:35 -08:00
Charles Garwood 8ab163eda8
Fix Z-Wave JS API docstrings (#47061) 2021-02-25 21:11:06 -08:00
Raman Gupta 7118b7169c
catch ValueError when unique ID update fails because its taken and remove the duplicate entity (#47072) 2021-02-25 20:41:54 -05:00
HomeAssistant Azure 989d3e5c87 [ci skip] Translation update 2021-02-26 00:06:13 +00:00
Bram Kragten e3105c7eb1
Revert CORS changes for my home assistant (#47064)
* Revert CORS changes for my home assistant

* Update test_init.py

* Update test_init.py
2021-02-25 15:28:22 -08:00
Bram Kragten d084291055
Updated frontend to 20210225.0 (#47059) 2021-02-25 21:34:04 +01:00
Joakim Sørensen 7d90cdea1e
Use dispatch instead of eventbus for supervisor events (#46986)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-02-25 19:52:11 +01:00
J. Nick Koston f4db74fe73
Fix bond typing in config flow (#47055) 2021-02-25 18:08:04 +01:00
Ron Klinkien 3a82917400
Bump python-garminconnect to 0.1.19 to fix broken api (#47020) 2021-02-25 17:39:57 +01:00
Tobias Sauerwein 4e09d7ee0f
Clean up Netatmo webhook handler (#47037) 2021-02-25 16:53:59 +01:00
Quentame 125206adbf
Add zeroconf discovery to Freebox (#47045)
* Add zeroconf discovery to Freebox

- remove deprecated discovery
- tried with SSDP too but the presentation URL is not the same (*.fbxos.fr for zeroconf, http://mafreebox.freebox.fr/ for SSDP)
- so config entry unique_id should be the MAC (included into SSDP, but not zeroconf, can be retrieve from `fbx.system.get_config()`)
- DHCP discovery might be added in the future too

* host and port are required on zeroconf

* cleanup in other PR
2021-02-25 16:50:58 +01:00
Johan Josua Storm 5bba532dd4
Replace wrong domain returned from xbox api 2.0 (#47021)
* Change solution to use yarl lib

* Add check if base url needs changing

* Actively remove padding query instead of omitting

* Fixed popping the wrong query

* Change explaination about removing mode query
2021-02-25 09:38:45 -05:00
Maciej Bieniek 09bafafee2
Bump gios library to version 0.2.0 (#47050) 2021-02-25 15:26:00 +01:00
João Gabriel 372ed2db91
Add remote control platform to Panasonic Viera (#42450)
* Adding remote platform

* Update homeassistant/components/panasonic_viera/remote.py

Simplify entity creation

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

* Use Pytest fixture

* Use Pytest fixtures and assert service calls

* Adding conftest.py and organizing tests

* Reorganizing tests

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-25 13:40:01 +01:00
Fabian Affolter c9d7a2be88
Upgrade sendgrid to 6.6.0 (#47041) 2021-02-25 13:09:52 +01:00
Fabian Affolter 5ec4360ac1
Upgrade pyowm to 3.2.0 (#47042) 2021-02-25 13:08:44 +01:00
Paulus Schoutsen 1989b8c07d
Clean up discovery integration (#47022)
* Clean up discovery integration

* Fix tests

* Remove discovery step from freebox
2021-02-25 12:19:21 +01:00
Fabian Affolter 7a691f9d26
Upgrade icmplib to 2.0.2 (#47039) 2021-02-25 11:11:40 +01:00
Robert Svensson 6b0c569a70
Normally there should only be one battery sensor per device from deCONZ. (#46761)
With these Danfoss devices each endpoint can report its own battery state.
2021-02-25 09:54:46 +01:00
Simone Chemelli 65a2f07a01
Fix missing Shelly external input (#47028)
* Add support for external input (Shelly 1/1pm add-on)

* Make external sensor naming consistent

* Fix case consistency
2021-02-25 09:51:18 +01:00
Florian Heilmann 47938a1355
hm climate: Return PRESET_NONE instead of None (#47003)
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
2021-02-25 09:49:52 +01:00
Paulus Schoutsen 633a7aeb22
Remove deprecated credstash + keyring (#47033) 2021-02-25 09:48:19 +01:00
J. Nick Koston 72263abfa9
Ensure doorbird events are re-registered when changing options (#46860)
- Fixed the update listener not being unsubscribed

- DRY up some of the code

- Fix sync code being called in async

- Reduce executor jumps
2021-02-24 23:16:20 -08:00
Raman Gupta a43f3c1a0c
Fix zwave_js unique ID migration logic (#47031) 2021-02-24 23:14:32 -08:00
starkillerOG 7dc9071776
Add Xiaomi Miio fan config flow (#46866)
* Miio fan config flow

* fix styling and imports

* Update homeassistant/components/xiaomi_miio/fan.py

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

* Update homeassistant/components/xiaomi_miio/fan.py

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

* Update homeassistant/components/xiaomi_miio/fan.py

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

* Update homeassistant/components/xiaomi_miio/fan.py

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

* Update homeassistant/components/xiaomi_miio/fan.py

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

* rename device -> entity

* fix indent

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-25 04:25:06 +01:00
Fabian Affolter 7e35af5d4e
Upgrade TwitterAPI to 2.6.8 (#47019) 2021-02-24 19:09:33 -05:00
HomeAssistant Azure bb7f1b748f [ci skip] Translation update 2021-02-25 00:05:20 +00:00
Paulus Schoutsen 557ec374f1
Convert discovery helper to use dispatcher (#47008) 2021-02-24 13:37:31 -08:00
Franck Nijhof 5ab11df551
Bump version to 2021.4.0dev0 (#47017) 2021-02-24 22:28:02 +01:00
Marcel van der Veldt 23cbd2dda3
Change Z-Wave JS discovery logic to adopt changes to DeviceClass (#46983)
Co-authored-by: raman325 <7243222+raman325@users.noreply.github.com>
2021-02-24 12:59:06 -08:00
Bram Kragten afae253432
Update frontend to 20210224.0 (#47013) 2021-02-24 21:18:24 +01:00
Simone Chemelli 4c294adfe8
Add missing tilt icon to Shelly tilt sensor (#46993) 2021-02-24 21:18:14 +01:00
Nathan Tilley 8d2606134d
Add FAA Delays Integration (#41347)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-24 14:11:20 -06:00
jjlawren ba51ada494
Bump plexapi to 4.4.0 (#47007) 2021-02-24 21:00:58 +01:00
jjlawren 2f1dba74d1
Use Plex server URL as config entry title (#47010) 2021-02-24 20:57:02 +01:00
Tobias Sauerwein 39baeb62f2
Add Sonos media browser image proxy (#46902) 2021-02-24 20:51:12 +01:00
Erik Montnemery daf7595ca6
Support value_template in MQTT triggers (#46891)
* Support value_template in MQTT triggers

* Rename value_template to payload_template

* Revert "Rename value_template to payload_template"

This reverts commit 902094eefc.
2021-02-24 20:16:36 +01:00
Raman Gupta 783e0f9a14
Setup config entry even if vizio device is unreachable (#46864) 2021-02-24 20:15:47 +01:00
Marcel van der Veldt 868a536d81
Add number platform to Z-Wave JS (#46956)
* add number platform to zwave_js integration
* add discovery scheme for thermostat valve control, using number platform

Co-authored-by: kpine <keith.pine@gmail.com>
2021-02-24 19:39:35 +01:00
Milan Meulemans 0eb8951aed
Remove recursive key reference (#46999) 2021-02-24 13:29:53 -05:00
Tobias Sauerwein 722b1e8746
Add Netatmo device trigger (#45387)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-24 19:20:40 +01:00
Milan Meulemans db0d815f9d
Use location common key reference in totalconnect (#46995) 2021-02-24 12:44:12 -05:00
Raman Gupta 106ae18432
Climacell fixes: Use common keys for strings, fix temp_low measurement, add windy condition (#46991)
* use common keys for lat and long

* additional fixes

* Update homeassistant/components/climacell/strings.json

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>

Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
2021-02-24 11:15:01 -05:00
Joakim Sørensen 11a89bc3ac
Add addon selector (#46789) 2021-02-24 17:02:48 +01:00
Fabian Affolter 0ef16dd563
Set awesomeversion to 21.2.3 (#46989) 2021-02-24 16:43:09 +01:00
Martin Hjelmare db8f597f10
Fix zwave_js config flow server version timeout (#46990) 2021-02-24 16:22:58 +01:00
Raman Gupta 424526db7e
Migrate zwave_js entities to use new unique ID format (#46979)
* migrate zwave_js entities to use new unique ID format

* remove extra param from helper

* add comment to remove migration logic in the future

* update comment

* use instance attribute instead of calling functino on every state update
2021-02-24 09:41:10 -05:00
adrian-vlad 44293a3738
Add enable and disable services for recorder (#45778) 2021-02-24 07:26:05 -06:00
Álvaro Fernández Rojas 470121e5b0
Restore Tado binary sensor attributes (#46069) 2021-02-24 07:17:01 -06:00
Maciej Bieniek b645b151f9
Catch AuthRequired exception in confirm discovery step for Shelly config flow (#46135) 2021-02-24 07:13:32 -06:00
Franck Nijhof 45b50c53ad
Mullvad integration improvements (#46987) 2021-02-24 13:43:44 +01:00
Bram Kragten b0d56970a5
Fix TTS services name (#46988) 2021-02-24 13:43:24 +01:00
Martin Hjelmare 17f4c9dd06
Improve mysensors config flow (#46984) 2021-02-24 12:52:04 +01:00
MeIchthys 1a73cb4791
Mullvad VPN (#44189)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-02-24 12:04:38 +01:00
Martin Hjelmare 1c7c6163dd
Save mysensors gateway type in config entry (#46981) 2021-02-24 11:31:31 +01:00
Raman Gupta eccdae60bf
Add ClimaCell weather integration (#36547)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-24 09:34:27 +01:00
Matthias Alphart a632215541
Validate KNX addresses (#46933) 2021-02-24 08:37:41 +01:00
Franck Nijhof 42fd3be0e8
Add template support to service targets (#46977)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-02-23 22:46:00 -08:00
Steven Looman 3e26e2adad
Handle device IP change in upnp (#46859) 2021-02-23 21:00:47 -06:00
Allen Porter 19f5b467b7
Make FAN_ON use the max duration rather than 15 min default (#46489) 2021-02-23 20:38:52 -06:00
Nathan Spencer b8f7bc12ee
Add switches and sensors to Litter-Robot (#46942) 2021-02-23 20:34:25 -06:00
Marcel van der Veldt d4d68ebc64
Extend zwave_js discovery scheme for lights (#46907) 2021-02-23 16:31:24 -08:00
Matthias Alphart d02b27a5d0
Update xknx to 0.17.1 (#46974) 2021-02-23 16:26:17 -08:00
J. Nick Koston 87cbbcb014
Automatically create HomeKit accessory mode entries (#46473)
When we set up HomeKit, we asked users if they wanted
to create an entry in bridge or accessory mode.

This approach required the user to understand how HomeKit works and
choose which type to create.

When the user includes the media player or camera domains,
we exclude them from the bridge and create the additional entries
for each entity in accessory mode.
2021-02-23 16:22:23 -08:00
HomeAssistant Azure 9159f54900 [ci skip] Translation update 2021-02-24 00:04:14 +00:00
Raman Gupta 1a99562e91
Add zwave_js.refresh_value service (#46944)
* add poll_value service

* switch vol.All to vol.Schema

* more relevant log message

* switch service name to refresh_value, add parameter to refresh all watched values, fix tests

* rename parameter and create task for polling command so we don't wait for a response

* raise ValueError for unknown entity

* better error message

* fix test
2021-02-23 18:58:04 -05:00
Milan Meulemans 228096847b
Fix typo in fireservicerota strings (#46973) 2021-02-23 23:42:24 +01:00
jjlawren 425d56d024
Fix Plex showing removed shared users (#46971) 2021-02-23 23:36:46 +01:00
tkdrob c9847920af
Use core constants for dht (#46029) 2021-02-23 23:32:39 +01:00
MHV33 23b2953773
Add more shopping list services (#45591)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-02-23 23:25:50 +01:00
Michael d96249e39c
Implement additional DataUpdateCoordinator to harmonize the data update handling of Synology DSM (#46113) 2021-02-23 16:23:50 -06:00
Matthias Alphart b583ded8b5
Fix KNX services.yaml (#46897) 2021-02-23 22:59:16 +01:00
J. Nick Koston d68a51ddce
Avoid having to ask for the bond token when possible during config (#46845) 2021-02-23 13:42:56 -08:00
Simone Chemelli 00dd557cce
Fix Shelly mireds and color_temp return type (#46112) 2021-02-23 22:42:33 +01:00
Martin Hjelmare 089effbe3f
Improve zwave_js config flow (#46906) 2021-02-23 13:41:19 -08:00
jjlawren 272e975a52
Fix Plex handling of clips (#46667) 2021-02-23 22:38:24 +01:00
J. Nick Koston eb8d723689
Bump pymyq to fix myq in core (#46962) 2021-02-23 21:50:06 +01:00
Jon Caruana 6a8b5ee51b
LiteJet is now configured using config_flow (#44409)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-23 14:20:58 -06:00
J. Nick Koston ffe42e150a
Add missing target to increase_speed/decrease_speed service (#46939) 2021-02-23 12:03:30 -06:00
Raman Gupta 5a3bd30e01
Add zwave_js.set_config_parameter service (#46673)
* create zwave_js.set_config_value service

* update docstring

* PR comments

* make proposed changes

* handle providing a label for the new value

* fix docstring

* use new library function

* config param endpoint is always 0

* corresponding changes from upstream PR

* bug fixes and add tests

* create zwave_js.set_config_value service

* update docstring

* PR comments

* make proposed changes

* handle providing a label for the new value

* fix docstring

* use new library function

* config param endpoint is always 0

* corresponding changes from upstream PR

* bug fixes and add tests

* use lambda to avoid extra function

* add services description file

* bring back the missing selector

* move helper functions to helper file for reuse

* allow target selector for automation editor

* formatting

* fix service schema

* update docstrings

* raise error in service if call to set value is unsuccessful

* Update homeassistant/components/zwave_js/services.yaml

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/zwave_js/services.yaml

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/zwave_js/services.yaml

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/zwave_js/services.yaml

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/zwave_js/services.yaml

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/zwave_js/services.yaml

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* remove extra param to vol.Optional

* switch to set over list for nodes

* switch to set over list for nodes

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-02-23 11:35:11 -05:00
Martin Hjelmare c94968d811
Catch more zwave_js errors (#46957) 2021-02-23 16:36:53 +01:00
Philip Allgaier 7a7147edcf
Add stop tilt support to KNX (#46947) 2021-02-23 16:34:02 +01:00
Charles Garwood 3c35b6558b
Return states list from zwave_js get_config_parameters websocket if available (#46954) 2021-02-23 09:31:47 -05:00
Bram Kragten f0f752936b
Update homeassistant services.yaml (#46952)
Add names and missing target to turn off service
2021-02-23 14:49:04 +01:00
Bram Kragten afa91e886b
Add description to tts and notify services (#46764)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-02-23 14:29:57 +01:00
Franck Nijhof ea4bbd771f
Add service names to previously enriched services (#46929)
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-02-23 14:10:13 +01:00
Maciej Bieniek 593e7aea5a
Bump accuweather to 0.1.0 (#46951) 2021-02-23 14:00:21 +01:00
Martin Hjelmare 6fe72b04eb
Add zwave_js constant for add-on slug (#46950) 2021-02-23 13:24:07 +01:00
tkdrob 4fdb617e22
Clean up constants (#46924)
* Clean up constants

* fix imports
2021-02-23 09:56:44 +01:00
J. Nick Koston 08889a9819
Fix smaty fan typing (#46941) 2021-02-23 07:14:39 +01:00
J. Nick Koston f33618d33d
Add suggested area support to isy994 (#46927) 2021-02-22 21:27:33 -06:00
J. Nick Koston bd87047ff2
Update tasmota to use new fan entity model (#45877) 2021-02-22 21:27:21 -06:00
J. Nick Koston fb2a100f5e
Add suggested area to tado (#46932)
I realized tado shows what we internally call `zone_name` as
the room name in the app.
2021-02-22 21:27:09 -06:00
uvjustin f005c68630
Restore stream recorder functionality and add discontinuity support (#46772)
* Add discontinuity support to stream recorder

* Use same container options for both StreamOutputs

* Fix pts adjuster

* Remove redundant/incorrect duplicate hls segment check

* Use same StreamBuffer across outputs

* Remove keepalive check for recorder

* Set output video timescale explicitly

* Disable avoid_negative_ts
2021-02-23 10:37:19 +08:00
Raman Gupta 1cecf229b9
Add zwave_js set_config_parameter WS API command (#46910)
* add WS API command

* handle error scenario better

* fixes and remove duplicate catch

* make elif statement more compact

* fix conflict

* switch to str(err)
2021-02-22 20:34:47 -05:00
HomeAssistant Azure 580d25c622 [ci skip] Translation update 2021-02-23 00:05:06 +00:00
Raman Gupta 20ccec9aab
Add zwave_js/get_log_config and zwave_js/update_log_config WS API commands (#46601)
* Add zwave_js.update_log_config service

* fix comment

* reduce lines

* move update_log_config from service to ws API call

* fix docstring

* Add zwave_js/get_log_config WS API command

* resolve stale comments

* remove transports since it will be removed from upstream PR

* add support to update all log config parameters since they could be useful outside of the UI for advanced users

* fix comment

* switch to lambda instead of single line validator

* fix rebase

* re-add ATTR_DOMAIN
2021-02-22 18:35:19 -05:00
Raman Gupta 9d7c64ec1a
Add missing required=true to code slot field in zwave_js.set_lock_usercode service (#46931) 2021-02-22 23:42:12 +01:00
Charles Garwood 04e07d8b2c
Add get_config_parameters websocket command to zwave_js (#46463)
* Add get_configuration_values websocket command to zwave_js

* Tweak return value

* Review comments and cleanup returned values

* Update test

* Rename to get_config_parameters

* Add get_configuration_values websocket command to zwave_js

* Rename to get_config_parameters

* fix test

* fix tests #2

* Add readable to metadata

Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com>
2021-02-22 17:03:38 -05:00
Bram Kragten be33336d96
Update frontend to 20210222.0 (#46928) 2021-02-22 22:48:47 +01:00
Philip Allgaier 8ac9faef3b
Description tweaks for automation services (#46926) 2021-02-22 21:36:38 +01:00
tkdrob f0c7aff248
Clean up Mitemp_bt constants (#46881)
* Use core constants for acer_projector

* Use core constants for mitemp_bt

* remove acer changes
2021-02-22 21:12:00 +01:00
Nathan Spencer e70d896e1b
Add litterrobot integration (#45886) 2021-02-22 08:53:57 -10:00
Raman Gupta 668574c48f
Add name and target filter to vizio entity service (#46916)
* Add name and target filter to vizio entity service

* Update homeassistant/components/vizio/services.yaml

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* add selectors

* Update homeassistant/components/vizio/services.yaml

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/vizio/services.yaml

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/vizio/services.yaml

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-02-22 13:31:18 -05:00
Michal Knizek 5907129b25
Increase tado API polling interval to 5 minutes (#46915)
Polling interval of 15 seconds causes high load on tado servers and does
not provide enough value to warrant it. tado plans to introduce a rate
limit to prevent such misuse of the API, therefore the polling interval
needs to be increased to make sure the integration works well in the
future.
2021-02-22 19:30:23 +01:00
Raman Gupta 6e10b39d67
add name and target filter to zwave_js lock services.yaml (#46914) 2021-02-22 12:54:06 -05:00
Tobias Sauerwein 692942b399
Add service names to Netatmo services (#46909) 2021-02-22 18:50:01 +01:00
Franck Nijhof c8ffac20b9
Add name to services (#46905) 2021-02-22 16:26:46 +01:00
tkdrob 75e04f3a71
Clean up constants (#46885) 2021-02-22 15:28:08 +01:00
Matt Zimmerman 81d011efc5
Add binary sensor to SmartTub for online status (#46889) 2021-02-22 04:10:00 -10:00
Franck Nijhof 603191702f
Cleanup of possibily confusing comment in esphome (#46903) 2021-02-22 14:43:29 +01:00
Simone Chemelli 82a9dc620c
Add device_class to Shelly cover domain (#46894)
Fix author
2021-02-22 14:31:22 +01:00
Jaroslav Hanslík 36b56586de
Bump samsungtvws from 1.4.0 to 1.6.0 (#46878) 2021-02-22 13:58:32 +01:00
starkillerOG 338c07a56b
Add Xiaomi Miio vacuum config flow (#46669) 2021-02-22 13:01:02 +01:00
Austin Mroczek e5aef45bd7
Add usercode support to totalconnect (#39199)
* Add test for invalid usercode

* Add usercodes to totalconnect.

* Update existing tests for usercodes

* Fix tests

* Add test for invalid usercode

* Add usercodes to totalconnect.

* Update existing tests for usercodes

* Fix tests

* Remove YAML support

* Fix conflict

* Bump to total_connect_client 0.56

* Change Exception to HomeAssistantError

* Fix config_flow.py

* Simplify async_setup since no yaml

* Remove import from config flow and tests

* Add reauth and test for it.  Various other fixes.

* Fix pylint in __init__

* Show config yaml as deprecated

* separate config_flow and init tests

* Assert ENTRY_STATE_SETUP_ERROR in init test

* Add test for reauth flow

* Fix reauth and tests

* Fix strings

* Restore username and usercode with new passord

* Correct the integration name

* Update tests/components/totalconnect/test_config_flow.py

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

* Update tests/components/totalconnect/test_init.py

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

* Update .coveragerc

* Add test for invalid auth during reauth

* Bump total-connect-client to 0.57

* Fix .coveragerc

* More tests for usercodes

* Fix usercode test

* Reload config entry on reauth

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-22 10:39:10 +01:00
Anders Melchiorsen d61d39de08
Handle ConditionError with multiple entity_id for state/numeric_state (#46855) 2021-02-22 08:11:59 +01:00
Jan-Willem Mulder 75b37b4c2a
Expose locked attribute in deCONZ climate platform (#46814) 2021-02-22 07:53:58 +01:00
Matt Zimmerman b2b476596b
Add UV sensor to SmartTub (#46888) 2021-02-21 20:25:01 -10:00
Diogo Gomes 5c29adea3d
Add KMTronic Integration (#41682)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-21 20:12:50 -10:00
Matt Zimmerman 5cd022a683
Add light platform to SmartTub (#46886)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-21 20:09:21 -10:00
Matthias Alphart 1a27af43cc
Add KNX service exposure_register (#45257) 2021-02-21 19:38:17 -10:00
Matt Zimmerman 5d8390fd9b
Add support for SmartTub filtration cycles (#46868) 2021-02-21 19:36:50 -10:00
Anders Melchiorsen b1a24c8bbb
Log the name of automations with condition errors (#46854) 2021-02-21 19:34:45 -10:00
Jonathan Keslin b6b1e725c7
Add support for VeSync dimmer switches (#44713)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-21 19:16:13 -10:00
Matt Zimmerman a8be5be376
Add switch platform and pump entity to SmartTub (#46842) 2021-02-21 18:48:27 -10:00
Matt Zimmerman d32dbc4cdd
Add support for SmartTub heat modes (#46876) 2021-02-21 18:46:54 -10:00
Diogo Gomes 0e44d61225
Add weather platform to template domain (#45031)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-21 18:08:00 -10:00
Matt Zimmerman 12c4db076c
Add more sensors to SmartTub integration (#46839) 2021-02-21 17:40:23 -10:00
tkdrob 8330940996
Clean up acer_projector constants (#46880) 2021-02-21 20:31:09 -05:00
tkdrob 29c0696537
Clean up denonavr constants (#46883) 2021-02-21 20:30:23 -05:00
HomeAssistant Azure 871427f5f1 [ci skip] Translation update 2021-02-22 00:06:36 +00:00
Charles Garwood 50a07f6d25
Log zwave_js connection errors (#46867) 2021-02-21 22:42:06 +01:00
Anders Melchiorsen d33a1a5ff8
Refine printing of ConditionError (#46838)
* Refine printing of ConditionError

* Improve coverage

* name -> type
2021-02-21 14:54:36 +01:00
J. Nick Koston d9ab1482bc
Add support for preset modes in homekit fans (#45962) 2021-02-20 19:24:14 -08:00
Erik Montnemery 5e26bda52d
Add support for disabling config entries (#46779) 2021-02-20 19:21:39 -08:00
Erik Montnemery 2d70806035
Add support for "alias" in script steps device, device_condition, and conditions (#46647)
Co-authored-by: Donnie <donniekarnsinsb@hotmail.com>
2021-02-20 19:21:09 -08:00
Garrett 3ad207a499
Add new Subaru integration (#35760)
Co-authored-by: On Freund <onfreund@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-20 16:52:44 -10:00
Steven Looman efa339ca54
Allow upnp ignore SSDP-discoveries (#46592) 2021-02-20 16:26:17 -10:00
HomeAssistant Azure 0cb1f61deb [ci skip] Translation update 2021-02-21 00:07:04 +00:00
Tom Harris f045c0512b
Fix Insteon config flow with add X10 and device override (#45854) 2021-02-20 13:00:18 -10:00
Matt Zimmerman 115fe26642
Add smarttub sensor platform and state sensor (#46775) 2021-02-20 12:25:02 -10:00
puddly 2b6619f815
Bump zigpy-znp from 0.3.0 to 0.4.0 (#46828) 2021-02-20 16:57:16 -05:00
Milan Meulemans 4af619d383
Add Rituals Perfume Genie integration (#46218)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-20 11:55:23 -10:00
Eric Severance 6e52b26c06
Speed-up wemo discovery (#46821)
* Speed-up wemo discovery

* Use gather_with_concurrency to limit concurrent executor usage

* Comment fixup: asyncio executors -> executor threads
2021-02-20 11:16:50 -10:00
Martin Hjelmare 43a5852561
Fix habitica entry unload clean up (#46798)
* Fix habitica entry unload clean up

* Fix service remove

* Add entry setup and unload test

* Fix config flow tests

* Assert service
2021-02-20 20:59:59 +01:00
Eric Severance fe4cf611f7
Disable update polling for Wemo when devices can push updates (#46806) 2021-02-20 09:37:48 -10:00
Eric Severance 806369ddc1
Bump pywemo to 0.6.3 (#46825) 2021-02-20 20:21:01 +01:00
Martin 6bb848455f
Add open/close tilt support to KNX cover (#46583) 2021-02-20 09:09:43 -10:00
Matthias Alphart 194c0d2b08
knx-read-service (#46670) 2021-02-20 09:09:23 -10:00
Matthias Alphart 2cf46330b1
Enable KNX routing optional local_ip (#46133) 2021-02-20 09:08:59 -10:00
marecabo c6c0e2416c
Validate icon and device_class of ESPHome sensor entities (#46709) 2021-02-20 13:05:35 -06:00
Anders Melchiorsen 9f4874bb81
Explicitly create_task for asyncio.wait (#46325) 2021-02-20 19:57:46 +01:00
Chris Talkington cf69415272
Implement suggested area in roku (#46819)
* implement suggested area in roku

* Update const.py

* Update test_media_player.py

* Update test_media_player.py

* Update test_media_player.py

* Update test_media_player.py
2021-02-20 12:57:24 -06:00
kpine 2ae790283c
Detect iBlinds v2.0 switch value as a cover not light (#46807)
* Remove unused "fibaro_fgs222" discovery hint

* Simplify multilevel switch current value discovery schema

* Force iBlinds v2.0 devices to be discovered as cover entities

* Rename discovery test file
2021-02-20 19:52:23 +01:00
Matthias Alphart 2940df09e9
Update xknx to 0.17.0 (#46809) 2021-02-20 08:45:04 -10:00
Michael da1808226e
change log level to info (#46823) 2021-02-20 08:42:37 -10:00
uvjustin 39da0dc409
Add rtsp transport options to generic camera (#46623)
* Add rtsp transport options to generic camera
2021-02-21 02:11:50 +08:00
J. Nick Koston adf480025d
Add support for bond up and down lights (#46233) 2021-02-20 08:03:40 -10:00
Chris Talkington 65e8835f28
Update rokuecp to 0.8.0 (#46799)
* update rokuecp to 0.8.0

* Update requirements_test_all.txt

* Update requirements_all.txt
2021-02-20 10:59:22 -06:00
Fabian Affolter b5c7493b60
Upgrade TwitterAPI to 2.6.6 (#46812) 2021-02-20 17:26:21 +01:00
Allen Porter 4aa4f7e285
Rollback stream StreamOutput refactoring in PR#46610 (#46684)
* Rollback PR#46610

* Update stream tests post-merge
2021-02-20 06:49:39 -08:00
Raman Gupta 788134cbc4
Bump zwave-js-server-python to 0.18.0 (#46787)
* updates to support changes in zwave-js-server-python

* bump lib version

* use named arguments for optional args

* re-add lost commits
2021-02-20 09:50:00 +01:00
Anders Melchiorsen 26ce316c18
Do not trigger when numeric_state is true at startup (#46424) 2021-02-20 09:11:36 +01:00
J. Nick Koston b775a0d796
Run homekit service calls in async since the server is now async (#45859)
* Simplify homekit runs and service calls

Now that the homekit server is async, call_service
and run are running in the Home Assistant event loop

* remove comment

* remove another comment
2021-02-19 21:34:52 -10:00
J. Nick Koston 41332493b5
Add suggested area support to Sonos (#46794) 2021-02-19 21:28:52 -10:00
J. Nick Koston 9b69549f73
Recover and restart the recorder if the sqlite database encounters corruption while running (#46612) 2021-02-19 21:26:24 -10:00
J. Nick Koston 5b0b01d727
Implement suggested areas in bond (#45942)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-19 21:06:43 -10:00
J. Nick Koston 6707496c5d
Update alexa for new fan model (#45836) 2021-02-19 22:45:14 -08:00
J. Nick Koston 5b95f61fd3
Update smarty to use new fan entity model (#45879) 2021-02-19 22:38:45 -08:00
J. Nick Koston 773a202777
Implement percentage step sizes in HomeKit (#46722) 2021-02-19 22:37:12 -08:00
J. Nick Koston 749883dc62
Implement suggested area in lutron_caseta (#45941) 2021-02-19 20:24:49 -10:00
J. Nick Koston 500cb17298
Ensure HomeAssistant can still restart when a library file is missing (#46664) 2021-02-19 22:22:48 -08:00
J. Nick Koston 22dbac259b
Ensure recorder shuts down cleanly on restart before startup is finished (#46604) 2021-02-19 22:18:21 -08:00
J. Nick Koston 4078a8782e
Add suggested area to hunterdouglas_powerview (#46774) 2021-02-19 22:17:00 -08:00
J. Nick Koston 11277faa93
Add suggested area to nexia (#46776) 2021-02-19 20:01:22 -10:00
J. Nick Koston 2807cb1de7
Implement suggested area for netatmo (#46802) 2021-02-19 21:57:37 -08:00
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