Commit Graph

24423 Commits (9011a54e7f0c8b3a10fc648b9a2bdd8660efb42b)

Author SHA1 Message Date
J. Nick Koston 6af754a7d3
Fix turning off scene in homekit (#47604) 2021-03-08 14:19:05 -08:00
Franck Nijhof fbf8b68488
Upgrade sentry-sdk to 1.0.0 (#47626) 2021-03-08 23:13:18 +01:00
Diogo Gomes ee25723468
Add option to reverse switch behaviour in KMTronic (#47532) 2021-03-08 22:56:24 +01:00
Philip Allgaier 665e2c3473
Ensure bond light follows proper typing (#47641) 2021-03-08 21:53:44 +01:00
Shay Levy 215ab5fd40
Add type hints to LightEntity (#47024) 2021-03-08 21:21:45 +01:00
Erik Montnemery a243adc551
Add WS command to get a summary of automation traces (#47557)
* Add WS command to get a summary of automation traces

* Update tests

* Correct rebase mistake, update tests
2021-03-08 20:30:52 +01:00
J. Nick Koston 573c40cb11
Ensure bond devices recover when wifi disconnects and reconnects (#47591) 2021-03-08 10:44:28 -08:00
J. Nick Koston b315fcab11
Fix turn on without speed in homekit controller (#47597) 2021-03-08 10:43:22 -08:00
ollo69 32476a3fed
Fix AsusWRT wrong api call (#47522) 2021-03-08 10:34:12 -08:00
Tony Roman f9e33a4a0d
Allow running and restarting with both ozw and zwave active (#47566)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-08 10:26:08 -08:00
J. Nick Koston 65776ef980
Remove self as code owner for mylink (#46242)
Sadly these devices turn out to be so unreliable that I
gave up on them and replaced them with bond (bondhome.io)
devices which have been rock solid
2021-03-08 07:40:39 -10:00
J. Nick Koston 9d14ff8105
Add suggested_area support to Apple TV (#47015) 2021-03-08 07:39:57 -10:00
Czapla 8018097c54
Add title key to allow mobile app title translation to other languages (#46593) 2021-03-08 18:37:37 +01:00
J. Nick Koston 53952b9662
Ensure template fan value_template always determines on state (#47598) 2021-03-08 18:34:34 +01:00
Erik Montnemery 8fe51b8ea7
Store automation traces indexed by run_id (#47509)
* Store traces indexed by run_id

* Format

* Add test

* Add test

* Clarify comment
2021-03-08 18:04:41 +01:00
B-Hartley ee2658f9e6
Add (some) of ZCL concentration clusters to ZHA component (#47590)
* Update registries.py

Add concentration clusters recently added to zigpy

* Update measurement.py

Add concentration clusters recently added to ZigPy

* Update sensor.py

Add concentration clusters recently added to ZigPy

* Update sensor.py

remove unnecessary tabs

* Update measurement.py

remove unnecessary tabs

* Update sensor.py

Just adding CO and CO2 for now.

* Update registries.py

Just adding CO2 and CO for now.

* Update measurement.py

Just adding CO2 and CO for now

* Update sensor.py

import const CONCENTRATION_PARTS_PER_MILLION

* Update registries.py

removed trailing whitespace

* Update sensor.py

added extra blank lines and removed trailing whitespace

* Update measurement.py

added extra blank lines and removed trailing whitespace

* Update sensor.py

add device classes for CO and CO2
2021-03-08 11:22:13 -05:00
Shay Levy 24db0ff956
Fix Shelly logbook exception when missing COAP (#47620) 2021-03-08 15:59:54 +01:00
Franck Nijhof 197687399d
Upgrade pillow to 8.1.2 (#47619) 2021-03-08 14:26:52 +01:00
Matt Zimmerman 9774ada4aa
Code cleanup for SmartTub integration (#47584) 2021-03-08 14:05:39 +01:00
Evgeny cf507b51cb
Add feels like temperature sensor to OpenWeatherMap (#47559) 2021-03-08 13:51:26 +01:00
Alexei Chetroi f3c71a69f0
Allow 10mV precision for ZHA battery sensor entities (#47520) 2021-03-08 07:37:33 -05:00
Adam Ernst ad86eb4be3
Add support for Flo "pucks" (#47074)
So far the Flo integration only supports shutoff valves. Add support for Flo leak detector pucks, which measure temperature and humidity in addition to providing leak alerts.
2021-03-08 07:36:03 -05:00
Franck Nijhof 457db1d0c3
Upgrade elgato to 2.0.1 (#47616) 2021-03-08 12:57:27 +01:00
Chris Talkington 597d8eaa4c
Update rokuecp to 0.8.1 (#47589) 2021-03-08 12:15:08 +01:00
Raman Gupta 1d387e12cc
Add fallback zwave_js entity name using node ID (#47582)
* add fallback zwave_js entity name using node ID

* add new fixture and test for name that was failing
2021-03-08 09:08:17 +01:00
Bram Kragten 683425876f
Update frontend to 20210302.6 (#47592) 2021-03-07 21:45:15 -08:00
Alex a066f84828
Remove @newAM from hdmi_cec codeowners (#47542) 2021-03-07 12:49:13 -05:00
Austin Mroczek 7050c71524
Round miles in myChevy sensors (#46879) 2021-03-07 07:46:14 -10:00
Diogo Gomes d3bd2378ba
Correct weather entities forecast time (#47565) 2021-03-07 16:07:02 +01:00
Martin Hjelmare d85d1a65a7
Fix mysensors unload clean up (#47541) 2021-03-07 14:20:21 +01:00
tkdrob 13d4d7039e
Clean up kmtronic (#47537) 2021-03-07 14:15:43 +01:00
tkdrob 07fd1b3b43
Clean up Lutron Caseta (#47534) 2021-03-07 14:14:15 +01:00
Jan-Philipp Litza 4018d0a152
Correctly close lacrosse on homeassistant stop (#47555)
Since lacrosse.close() takes no arguments, but was directly added as a
listener to EVENT_HOMEASSISTANT_STOP, the following occured on shutdown:

Traceback (most recent call last):
  File "/usr/lib/python/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
TypeError: close() takes 1 positional argument but 2 were given
2021-03-07 13:53:48 +01:00
Anders Melchiorsen c8c394ef91
Increase ESPHome log level on first connection failure (#47547) 2021-03-07 11:36:28 +01:00
J. Nick Koston 0d07dae3bc
Change default homekit ports to 21063 and 21064 (#47491)
We previously used a value in the linux default ephemerial port range
which meant that if something else happened to use that port HomeKit
would not start up.  We now use a value below 32768 to ensure that
the port is not randomly unavailable
2021-03-06 21:41:56 -10:00
J. Nick Koston 2e89f152ba
Bump HAP-python to 3.4.0 (#47476)
* Bump HAP-python to 3.3.3

* bump

* fix mocking
2021-03-07 01:30:57 +01:00
Alexei Chetroi 79b5ca9415
Add device classes for CO and CO2 measurements (#47487) 2021-03-07 00:52:43 +01:00
N1c093 9101ed2732
Add precipitation probability forecast to owm (#47284)
* Add precipitation probability forecast to owm

* Update weather_update_coordinator.py

Reformat the code based on black
2021-03-07 00:48:22 +01:00
Martin Hjelmare f542b360d5
Fix mysensors device tracker (#47536) 2021-03-06 23:41:43 +01:00
Franck Nijhof b01a6367cc
Complete typing on AdGuard Home integration (#47477) 2021-03-06 23:19:03 +01:00
Martin Hjelmare d944bbbc52
Bump pymysensors to 0.21.0 (#47530) 2021-03-06 23:06:50 +01:00
Martin Hjelmare 1600207f5c
Fix mysensors notify platform (#47517) 2021-03-06 18:33:55 +01:00
Nathan Spencer e9052233a6
Adjust litterrobot tests and code to match guidelines (#47060)
* Use SwitchEntity instead of ToggleEntity and adjust test patches as recommended

* Move async_create_entry out of try block in config_flow

* Patch pypi package instead of HA code

* Bump pylitterbot to 2021.2.6, fix tests, and implement other code review suggestions

* Bump pylitterbot to 2021.2.8, remove sleep mode start/end time from vacuum, adjust and add sensors for sleep mode start/end time

* Move icon helper back to Litter-Robot component and isoformat times on time sensors
2021-03-06 17:28:33 +01:00
uvjustin 14f85d8731
Disable audio stream when ADTS AAC detected (#47441)
* Disable audio stream when ADTS AAC detected

* Use context manager for memoryview

* Fix tests

* Add test

* Fix tests

* Change FakePacket bytearray size to 3
2021-03-06 16:40:49 +01:00
Erik Montnemery 2f9d03d115
Merge action and condition traces (#47373)
* Merge action and condition traces

* Update __init__.py

* Add typing to AutomationTrace

* Make trace_get prepare a new trace by default

* Correct typing of trace_cv

* Fix tests
2021-03-06 12:57:21 +01:00
Ville Skyttä 022184176a
Upgrade upcloud-api to 1.0.1 (#47501)
https://github.com/UpCloudLtd/upcloud-python-api/releases/tag/0.4.6
https://github.com/UpCloudLtd/upcloud-python-api/releases/tag/v1.0.0
https://github.com/UpCloudLtd/upcloud-python-api/releases/tag/v1.0.1
2021-03-06 12:36:20 +01:00
FidgetyRat 4cade4b736
Add OPENING & CLOSING state to MySensors cover (#47285)
* Added OPENING & CLOSING State Support

Added support for OPENING and CLOSING states using a combination of
the required V_ variables. Simplified the determination of the
cover's state by use of a new enumeration and single method allowing
the state to be used by all three HomeAssistant query methods.

* Fixes for HomeAssistant Style

Corrections to style to allow flake8, isort, and black to pass.

* Peer Review Changes

Added @unique to the main enumeration. Removed unnecessary parens from
door state logic. Reordered CLOSING and CLOSED in the enumeration.
2021-03-06 10:26:04 +01:00
Anders Melchiorsen c7718f2b3b
Fix Sonos polling mode (#47498) 2021-03-06 10:21:00 +01:00
Franck Nijhof 10dae253e5
Complete typing on Verisure integration (#47482) 2021-03-05 15:37:56 -08:00
Paulus Schoutsen 4c181bbfe5
Raise error instead of crashing when template passed to call service target (#47467) 2021-03-05 15:34:18 -08:00
Franck Nijhof 8f31b09b55
Complete typing on TwenteMilieu integration (#47480) 2021-03-05 15:33:26 -08:00
Phil Bruckner 2472dad1fa
Bump amcrest package version to 1.7.1 (#47483) 2021-03-05 15:05:36 -08:00
ollo69 292f4262aa
Move AsusWrt sensors update logic in router module (#46606) 2021-03-05 23:40:04 +01:00
Alexei Chetroi a12b98e30e
Update ZHA dependencies (#47479) 2021-03-05 17:01:54 -05:00
Robert Svensson 50d3aae418
Improve restoring UniFi POE entity state (#47148)
* Improve restoring data and better handling when the restore data is empty
Improve readability of some logic related to POE clients

* There is no need to check clients_all in Switch platform

* Add better tests when restoring state

* Port except handling shouldn't be needed anymore

* Walrusify get_last_state
2021-03-05 22:09:05 +01:00
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
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
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
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
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
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
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 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