Commit Graph

26595 Commits (f3c74948c3a4d2b1048fd980eba9d240db472504)

Author SHA1 Message Date
Franck Nijhof 02e723f206
Typing tweak to the Elgato integration (#47471) 2021-03-05 21:48:02 +01:00
Tobias Sauerwein b3c33fc1be
Fix issue at Netatmo startup (#47452) 2021-03-05 21:41:55 +01:00
Robert Svensson 793929f2ea
Increase test coverage of UniFi integration (#46347)
* Increase coverage of init

* Increase coverage of config_flow

* Improve coverage of controller

* Minor improvement to switch test

* Fix review comment

* Mock websocket class

* Replace the rest of the old websocket event tests

* Improve websocket fixture for cleaner tests

* Fix typing

* Improve connection state signalling based on Martins feedback

* Improve tests of reconnection_mechanisms based on Martins review comments

* Fix unload entry

* Fix isort issue after rebase

* Fix martins comment on not using caplog

* Fix wireless clients test

* Fix martins comments on wireless clients test
2021-03-05 21:28:41 +01:00
Emily Mills 7c08592b5a
Convert kulersky to use new async backend (#47403) 2021-03-05 14:24:55 -06:00
Raman Gupta 6debf52e9b
Update zwave_js.refresh_value service description (#47469) 2021-03-05 20:57:06 +01:00
Franck Nijhof 61be29117d
Deprecate HomeKit auto start (#47470) 2021-03-05 11:51:49 -08:00
mvn23 ab0a5bccab
Update pyotgw to 1.1b1 (#47446) 2021-03-05 20:22:40 +01:00
functionpointer a2ee7d598b
Use conn_made callback in MySensors (#47463) 2021-03-05 20:21:24 +01:00
Emily Mills a547d0fea2
Prevent Zerproc leaving open unnecessary connections (#47401)
* Zerproc: Prevent leaving open unnecessary connections

* Fix config entry unloading
2021-03-05 13:14:03 -06:00
tkdrob 3baeed3684
Clean up constants (#47323) 2021-03-05 19:08:04 +01:00
Franck Nijhof cc99fd5e32
Fix Hue scene overriding Hue default transition times (#47454) 2021-03-05 09:43:26 -08:00
Joakim Plate f2a2dbb561
Bump version with fix for v1 (#47458) 2021-03-05 09:42:20 -08:00
Bram Kragten a6c5e79de2
Update frontend to 20210302.5 (#47462) 2021-03-05 09:42:08 -08:00
Raman Gupta cad5e67588
Bump zwave-js-server-python to 0.21.1 (#47464) 2021-03-05 09:41:36 -08:00
Anders Melchiorsen 79ebe930e3
Limit log spam by ESPHome (#47456) 2021-03-05 16:16:07 +01:00
uvjustin 864380e77c
Add allenporter to stream codeowners (#47431) 2021-03-05 15:51:07 +01:00
Paul Dee 6a4b755faf
Spellcheck on Synology component (#47451) 2021-03-05 15:36:07 +01:00
Martin Hjelmare 0350a6ed21
Only create snapshot if add-on update will be done (#47424) 2021-03-04 16:38:33 -08:00
Raman Gupta ee69e93b46
Bump zwave-js-server-python to 0.21.0 (#47408)
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-03-04 16:15:50 -08:00
Christophe Painchaud a1faba29f0
Fix RFLink TCP KeepAlive error log (#47395) 2021-03-05 01:09:54 +01:00
Cooper Dale 35d5522e79
Fix typo in docs link for forked_daapd (#47413)
corrected link to existing site
2021-03-05 00:58:42 +01:00
Tobias Sauerwein c3bddc0fa6
Update browse_media.py (#47414) 2021-03-04 23:35:39 +01:00
Martin Hjelmare 682943511a
Make zwave_js add-on manager more flexible (#47356) 2021-03-04 14:14:24 -08:00
Petru Paler 7ed80d6c39
Update Solax library to 0.2.6 (#47384) 2021-03-04 22:29:19 +01:00
Franck Nijhof 6f7179dce9
Fix older Roborock models (#47412) 2021-03-04 13:27:59 -08:00
Raman Gupta 74746125ce
Fix Climacell timezone issue with daily forecasts (#47402) 2021-03-04 13:21:56 -08:00
Aaron Bach fa8ded5ad8
Fix AirVisual exception when config entry contains old integration type (#47405) 2021-03-04 13:20:08 -08:00
Raman Gupta 972baa2ce4
Don't convert Climacell forecast temperatures to celsius because platform does it automatically (#47406) 2021-03-04 13:15:27 -08:00
Sebastian Muszynski 541e166317
Fix measurement unit (Closes: #47390) (#47398) 2021-03-04 13:12:04 -08:00
Martin Hjelmare 5ced7395f3
Fix access of missing zwave_js climate unit value (#47380) 2021-03-04 13:11:38 -08:00
Martin Hjelmare d64fe6ea32
Fix zwave_js manual reconfiguration of add-on managed entry (#47364) 2021-03-04 13:11:07 -08:00
Bram Kragten cea4808db8
Update frontend to 20210302.4 (#47383) 2021-03-04 13:09:51 -08:00
Franck Nijhof 7a8b7224c8
Don't raise on known non-matching states in numeric state condition (#47378) 2021-03-04 13:09:08 -08:00
Eric Severance f05f60c4c4
Revert "Speed-up wemo discovery (#46821)" (#47392)
This reverts commit 6e52b26c06.
2021-03-04 13:07:42 -08:00
J. Nick Koston 62d8e47c51
Map silent as a preset mode for fan backcompat (#47396)
The original change did not map silent as a preset mode
because it was not clear if it was a speed or a preset.
2021-03-04 13:02:50 -08:00
starkillerOG b58f9ce33a
Fix Xiaomi Miio setup of switch entity for lumi.acpartner.v3 (#47345) 2021-03-04 21:53:09 +01:00
Anders Melchiorsen b49a672fd5
Catch ConditionError in generic_thermostat climate (#47359) 2021-03-04 21:47:24 +01:00
Franck Nijhof 208a104e96
Fix secrets in files included via include_dir_list (#47350) 2021-03-04 09:33:35 -08:00
Erik Montnemery 17401cbc29
Initial automation tracing (#46755)
* Initial prototype of automation tracing

* Small fixes

* Lint

* Move trace helpers to its own file

* Improve trace for state and numeric_state conditions

* Tweaks + apply suggestions from code review

* Index traces by automation_id, trace while script is running

* Refactor condition tracing

* Improve WS API to get traces for single automation

* Add tests

* Fix imports

* Fix imports

* Address review comments

* Cap logging of loops

* Remove unused ContextVar action_config
2021-03-04 14:16:24 +01:00
Chris 6d478804e7
Add LZW36 device schema to zwave_js discovery (#47314)
* Add LZW26 device schema to discovery

Co-authored-by: @kpine

* Update homeassistant/components/zwave_js/discovery.py

Co-authored-by: kpine <keith.pine@gmail.com>

* Add tests

* Fix test

Co-authored-by: kpine <keith.pine@gmail.com>
2021-03-04 00:32:37 +01:00
tkdrob 53e62a897b
Fix grammar in pi_hole logs (#47324) 2021-03-04 00:20:35 +01:00
Paulus Schoutsen e6a6b2a680
Simplify switch light (#47317) 2021-03-03 10:13:04 -08:00
Erik Montnemery 504e5b77ca
Improve behaviour when disabling or enabling config entries (#47301) 2021-03-03 10:12:37 -08:00
Joakim Plate 7626aa5c94
Philips JS correct post review comments (#47247) 2021-03-03 18:51:58 +01:00
Martin Hjelmare 099c9c59cb
Fix Supervisor platform coordinator data lookup (#47308) 2021-03-03 14:37:36 +01:00
Bram Kragten c192a44e87
Update frontend to 20210302.3 (#47310) 2021-03-03 14:35:58 +01:00
Nick Adams cc72cf0c0d
Update izone services.yaml and remove entity_id from schema. (#47305)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-03-03 11:51:40 +01:00
Erik Montnemery b147ba1377
Correct gogogate2 battery sensor attributes (#47302) 2021-03-03 10:20:48 +01:00
Milan Meulemans 8f3c2573e2
Remove name from keenetic-ndms2 strings (#47113) 2021-03-03 10:12:26 +01:00
Matt Zimmerman 9022b90945
bump python-smarttub to 0.0.19 (#47294) 2021-03-03 07:04:17 +01:00
J. Nick Koston 32fe4fa378
Add activity properties to remote entity model (#47237) 2021-03-02 17:57:36 -10:00
Raman Gupta 6019bcf9d1
Correct climacell device info (#47292) 2021-03-03 01:55:10 +01:00
Matthias Alphart ce8871ef59
KNX remove custom deprecation warnings (#47238) 2021-03-03 00:50:40 +01:00
Martin Hjelmare d3721bcf26
Add zwave_js add-on manager (#47251)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-03-02 14:22:42 -08:00
Raman Gupta e443597b46
Bump zwave-js-server-python to 0.20.1 (#47289) 2021-03-02 23:09:50 +01:00
Raman Gupta c327f3fc42
Convert climacell forecast timestamp to isoformat so that UI shows the right times (#47286) 2021-03-02 13:25:09 -08:00
Raman Gupta 42af775f53
Add raw values to zwave_js value notification event (#47258)
* add value_raw to value notification event that always shows the untranslated state value

* add property key and property to event params
2021-03-02 16:10:30 -05:00
Tobias Sauerwein d20659d2ee
Fix issue when setting boost preset for a turned off Netatmo thermostat (#47275) 2021-03-02 13:02:59 -08:00
Franck Nijhof 1926941d8e
Upgrade pillow to 8.1.1 (#47223) 2021-03-02 13:02:41 -08:00
Paulus Schoutsen 2df644c6cc
Clean up secret loading (#47034) 2021-03-02 12:58:53 -08:00
Simone Chemelli 17444e2f2f
Limit log spam by ConfigEntryNotReady (#47201) 2021-03-02 12:50:28 -08:00
Quentame 198ecb0945
Uniformize platform setup (#47101)
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
Quentame ca54de095d
Add disk sensor to Freebox (#46689)
* Add disk sensor to Freebox

* Add debug logging into sensors

* Remove useless sensor[X] assignement in disk sensor
2021-03-02 21:23:02 +01:00
Alexei Chetroi 7ef174fb5e
Update ZHA dependencies (#47282) 2021-03-02 21:12:30 +01:00
Aaron Bach 112b039107
Bump simplisafe-python to 9.6.9 (#47273) 2021-03-02 12:19:04 -07:00
Bram Kragten 8e80e428d0
Update frontend to 20210302.0 (#47278) 2021-03-02 20:15:09 +01:00
Rene Lehfeld 2272925699
Add force_update to tasmota sensors (#47052)
* Add force update also to non-binary sensors as e.g. POWER Measurement agerage cannot be calculated otherwise. This is the same behavior as set with the obsolete tasmota detection

* add tests in binary_sensor and test_sensor for force_update flag

* satisfy flake8

* next try for force_update test but this time on the entity object which is the correct level

* once again satisfy flake8

* one more try for a test

* fix typo

* satisfy black
2021-03-02 18:57:14 +01:00
Franck Nijhof 4904207f77
Fix izone flake8 error (#47276) 2021-03-02 16:58:02 +01:00
Paulus Schoutsen 2ebca88950
Fix Alexa doorbells (#47257) 2021-03-02 15:13:45 +01:00
Erik Montnemery 959181a2e9
Make MQTT number respect retain setting (#47270) 2021-03-02 14:28:31 +01:00
Nick Adams 027d125617
Add services for izone airflow min/max (#45727)
* Create airflow_min and airflow_max services for the izone component
* Bump pizone library requirement
2021-03-02 20:58:41 +08:00
Quentame 6b9abfc2c6
Add init test to Freebox (#46998)
* Add init test to Freebox

* Review : more readable conftest

* Expect 2 blank lines between defs

* Review : Not I/O in the event loop

* Fix test_setup test

* remove useless const

* Review : mock setup methods

* Add service test

* Add import test
2021-03-02 13:37:33 +01:00
tkdrob ab53b49d3f
Clean up constants (#46948)
* Clean up constants

* clean up humidifier constants

* fix tests

* fix prometheus tests

Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-03-02 12:52:00 +01:00
Ville Skyttä dc880118a4
Lint suppression cleanups (#47248)
* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
J. Nick Koston 38a2f196b8
Fix typing on fan percentage (#47259) 2021-03-02 08:32:24 +01:00
Erik Montnemery 7e71050669
Add battery sensor for gogogate2 wireless door sensor (#47145)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-03-01 17:34:37 -10:00
Marcel van der Veldt 853d9ac4a9
Update color logic for zwave_js light platform (#47110)
Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com>
2021-03-01 17:12:49 -08:00
stephan192 7bc2328802
Remove rounding from The Things Network (#47157) 2021-03-01 17:00:42 -08:00
J. Nick Koston d02218ff30
Fix harmony failing to switch activities when a switch is in progress (#47212)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-03-01 16:56:42 -08:00
Milan Meulemans cb99969845
Fix typo in plaato strings (#47245) 2021-03-01 16:34:39 -08:00
Franck Nijhof d1afef843b
Deprecate LIFX Legacy integration (#47235) 2021-03-01 16:34:14 -08:00
Franck Nijhof 4f9f870e7d
Fix duplicate template handling in Persistent Notifications (#47217) 2021-03-01 16:27:26 -08:00
Paulus Schoutsen cc6293623f
Revert "Fix the updater schema (#47128)" (#47254)
This reverts commit 98be703d90.
2021-03-01 16:12:48 -08:00
Aaron Bach 3ee589d973
Bump simplisafe-python to 9.6.8 (#47241) 2021-03-01 17:08:36 -07:00
Bram Kragten 036ce55bea
Update frontend to 20210301.0 (#47252) 2021-03-01 15:32:39 -08:00
Raman Gupta 3e34bb3e89
Add suggested area for zwave_js devices (#47250) 2021-03-01 15:24:55 -08:00
Joakim Plate c6cfcc2abb
Add remote control support to philips_js (#47249) 2021-03-01 15:21:10 -08:00
J. Nick Koston 2e65a60624
Fix lutron caseta fan handling of speed off (#47244) 2021-03-01 15:18:47 -08:00
Erik Montnemery 96cc17b462
Add support for a list of known hosts to Google Cast (#47232) 2021-03-01 15:18:18 -08:00
Erik Montnemery dd9e926689
Pass variables to initial evaluation of template trigger (#47236)
* Pass variables to initial evaluation of template trigger

* Add test

* Clarify test
2021-03-01 23:34:26 +01:00
Matthias Alphart 3fda9fd0c6
KNX address constant (#47196) 2021-03-01 21:59:36 +01:00
Raman Gupta 3c290c9a44
Address late hassio review (#47229)
* hassio code cleanup to address comments in #46342

* fix code
2021-03-01 12:10:51 -05:00
Dermot Duffy 61f509bdd8
Minor Hyperion mypy cleanups (#45765) 2021-03-01 18:10:28 +01:00
Shay Levy adad4a7785
Fix Shelly Polling (#47224) 2021-03-01 17:27:43 +01:00
Dermot Duffy be8584c0bc
Overhaul command_line tests (#46682) 2021-03-01 17:27:04 +01:00
jdeath 3ebd5aff98
Bump mcstatus to 5.1.1 (#47169) 2021-03-01 16:35:47 +01:00
Franck Nijhof 5cb2fdb6f7
Upgrade spotipy to 2.17.1 (#47228) 2021-03-01 16:02:55 +01:00
Matt Zimmerman 947f6ea51e
Parameterize SmartTub tests (#47189)
* Parameterize SmartTub tests

* parameterize light service calls

* remove stray print()

* add comment
2021-03-01 13:53:57 +01:00
starkillerOG 084cfa4a1d
Fix Xiaomi Miio flow unique_id for non discovery flows (#47222) 2021-03-01 12:46:02 +01:00
Erik Montnemery 003fee2a35
Fix race when disabling config entries (#47210)
* Fix race when disabling config entries

* Remove unused constant
2021-03-01 12:38:49 +01:00
Matthias Alphart dadc99dbd3
Deprecate knx config_file (#46874)
* deprecate config_file

* removed cv.deprecated for now, added persistent notification

* Update homeassistant/components/knx/__init__.py

Co-authored-by: Philip Allgaier <philip.allgaier@gmx.de>

* remove notification, add cv.deprecated again

* Update homeassistant/components/knx/__init__.py

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

* remove cv.deprecated again

Co-authored-by: Philip Allgaier <philip.allgaier@gmx.de>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-03-01 11:55:55 +01:00
Matthias Alphart 92afcb6b4b
KNX services send and event_register accept multiple group addresses (#46908)
* send and event_register service accept lists of group addresses

* remove lambda

* object selector for lists

* knx.read takes lists too
2021-03-01 11:51:59 +01:00
Max Chodorowski 4c42e469b3
Fix number of reported issues by github integration (#47203) 2021-03-01 10:38:07 +01:00
J. Nick Koston 2de01ddaeb
Remove griddy integration (#47218) 2021-03-01 10:35:23 +01:00
Tobias Sauerwein 732db3b67c
Revert const replacement in fritzbox_callmonitor (#47211) 2021-03-01 10:31:13 +01:00
Raman Gupta 0592309b65
Add hassio addon_update service and hassio config entry with addon and OS devices and entities (#46342)
* add addon_update service, use config flow to set up config entry, create disabled sensors

* move most of entity logic to common entity class, improve device info, get rid of config_flow user step

* fix setup logic

* additional refactor

* fix refactored logic

* fix config flow tests

* add test for addon_update service and get_addons_info

* add entry setup and unload test and fix update coordinator

* handle if entry setup calls unload

* return nothing for coordinator if entry is being reloaded because coordinator will get recreated anyway

* remove entry when HA instance is no longer hassio and add corresponding test

* handle adding and removing device registry entries

* better config entry reload logic

* fix comment

* bugfix

* fix flake error

* switch pass to return

* use repository attribute for model and fallback to url

* use custom 'system' source since hassio source is misleading

* Update homeassistant/components/hassio/entity.py

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

* update remove addons function name

* Update homeassistant/components/hassio/__init__.py

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

* fix import

* pop coordinator after unload

* additional fixes

* always pass in sensor name when creating entity

* prefix one more function with async and fix tests

* use supervisor info for addons since list is already filtered on what's installed

* remove unused service

* update sensor names

* remove added handler function

* use walrus

* add OS device and sensors

* fix

* re-add addon_update service schema

* add more test coverage and exclude entities from tests

* check if instance is using hass OS in order to create OS entities

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-03-01 09:41:04 +01:00
Marc Mueller 16dcbf1467
Update pylint (#47205) 2021-02-28 22:09:01 -10:00
J. Nick Koston cb94e7949b
Bump HAP-python to 3.3.2 to fix unavailable condition on restart (#47213)
Fixes

https://github.com/ikalchev/HAP-python/compare/v3.3.1...v3.3.2
2021-02-28 22:00:31 -10:00
J. Nick Koston 853da40e70
Increment the homekit config version when restarting (#47209)
If an entity changes between restart the iOS/controller
device may have cached the old chars for the accessory.
To force the iOS/controller to reload the chars, we
increment the config version when Home Assistant restarts
2021-02-28 20:42:09 -08:00
Aaron Bach 0e9f2dc272
Bump simplisafe-python to 9.6.7 (#47206) 2021-02-28 20:41:09 -08:00
J. Nick Koston 5784e14d0c
Enforce typing in bond (#47187)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-01 03:16:30 +01:00
Allen Porter 715a254913
Handle stream failures in recorder (#47151)
* Handle stream failures in recorder

Fail gracefully with an error message when the recorder is invoked with no segments due to a stream failure.

* Update homeassistant/components/stream/recorder.py

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

Co-authored-by: uvjustin <46082645+uvjustin@users.noreply.github.com>
2021-02-28 18:01:28 -08:00
HomeAssistant Azure 44ed6cda40 [ci skip] Translation update 2021-03-01 00:09:01 +00:00
Matt Zimmerman 277c3cb661
Cleanup SmartTub filtration cycles (#47192) 2021-02-28 13:53:57 -10:00
Eric Severance 1d7660f071
Explain why should_pool is True initially for wemo (#47191) 2021-02-28 13:51:43 -10:00
Matt Zimmerman c6223873f4
Move SmartTub climate constants to module level (#47190) 2021-02-28 13:49:25 -10:00
Matt Zimmerman bab66a5cb9
Remove turn_on and turn_off from SmartTub pump switches (#47184) 2021-02-28 13:48:30 -10:00
AJ Schmidt b8c8fe0820
Update AlarmDecoder dependency (#46841) 2021-02-28 13:21:04 -10:00
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