Commit Graph

24519 Commits (d7bcf4a3b479bcc429707ad9639a3f89cd6f0083)

Author SHA1 Message Date
Michael 8d9a844e84
Add verify_ssl option for connection setup to synology_dsm (#42539) 2020-11-02 14:23:16 +01:00
Raman Gupta 098dead16d
Fix Vizio host string for zeroconf discovery (#42738) 2020-11-02 13:08:36 +01:00
Pascal Vizeli a4947ed32d
Base image 2020.10.1 (#42666) 2020-11-02 11:54:16 +01:00
Paulus Schoutsen 1844e30858
Add support for manual updating a data coordinator (#42746) 2020-11-02 09:54:08 +01:00
HomeAssistant Azure ce16ff27ef [ci skip] Translation update 2020-11-02 00:03:44 +00:00
Alexei Chetroi 9ccc49411a
Refactor ZHA light state restoration after a restart (#42726)
* Restore ZHA light state and level

* Restore state and color temp from zigpy cache
2020-11-01 17:19:36 -05:00
Matthew Donoughe 704f474894
Use pylutron_caseta 0.7.1 (#42701) 2020-11-01 18:25:34 +01:00
Josef Schlehofer 7498c04410
Upgrade youtube_dl to version 2020.11.01.1 (#42714) 2020-11-01 17:50:53 +01:00
Alexei Chetroi 8868028dcd
Bump up ZHA dependencies (#42679)
* Bump up ZHA dependencies

* Fix tests because of zigpy request signature change
2020-11-01 11:05:55 -05:00
Sören Oldag be058d1eb2
Bump pwmled to v1.6.6 (#42607) 2020-11-01 15:23:42 +01:00
J. Nick Koston 951f166679
Remove homekit cover precision workarounds (#42647)
These workarounds inevitably ended up assuming the wrong thing
In issue #42444 they would assume it was still opening, and
in issue #41645 they would assume is was already closed.
2020-11-01 03:53:02 -10:00
Lindsay Ward 181811b7b8
Fix typo exceeded, change to exceed, in HomeKit (#42705) 2020-11-01 03:51:56 -10:00
Greg a5b8d0038f
Bump version to 0.16.2 (#42696) 2020-11-01 12:25:33 +01:00
epenet c8735edb7f
Optimise onewire sensor update method (#42690) 2020-10-31 14:46:31 -10:00
HomeAssistant Azure abe6f552f6 [ci skip] Translation update 2020-11-01 00:04:54 +00:00
Chris Talkington 2762b582af
Fix canary camera entity inheritance (#42691) 2020-10-31 22:05:59 +01:00
epenet 8fabb99b2e
Cleanup local imports on onewire integration (#42689) 2020-10-31 15:08:26 -05:00
Greg Dowling 065ad920ea
Bump roonapi to 0.0.25 (#42680) 2020-10-31 20:11:26 +01:00
Michael 1803fee89d
Add @mib1185 as codeowner to synology_dsm (#42671)
* add @mib1185 as codeowner to synology_dsm

* Apply suggestions from code review

Co-authored-by: Quentame <polletquentin74@me.com>
2020-10-31 20:10:04 +01:00
springstan c7fbbbe935
Allow saving zero precision option in Opentherm_gw (#42593)
* Allow saving zero precision option in Opentherm_gw

* Add default 0 back for precision option

* Adjust config flow test for zero precision
2020-10-31 16:19:17 +01:00
Jason Hunter f1bb7b4a0f
attempt to renew subscription immediately to stop endless loop if it fails after setup (#42651) 2020-10-31 09:15:11 -04:00
HomeAssistant Azure c7ba2341e3 [ci skip] Translation update 2020-10-31 00:04:15 +00:00
Petro31 ee528e1a60
Add hassio service descriptions (#42597)
* Add yaml for snapshot services

Adds snapshot_full and snapshot_partial service descriptions.

* fixes

Added password to full & partial.  Added name to partial.
2020-10-30 21:18:53 +01:00
Aaron Bach 036a8b5667
Small cleanup to IQVIA DataUpdateCoordinator logic (#42642) 2020-10-30 15:10:32 -05:00
Glenn Waters 2b24b9658f
Bump ElkM1 library to 0.8.7 (#42645)
This is a bump by two dot versions of the library. The 0.8.6 version had
a number of internal improvements to the library. No external changes.

The 0.8.7 version fixes
https://github.com/home-assistant/core/issues/20630.
2020-10-30 13:41:13 -05:00
Erik Montnemery 73eaef0b1c
Make sure Tasmota status sensors are disabled (#42643) 2020-10-30 19:04:11 +01:00
Erik Montnemery 6e9b0b4614
Bump hatasmota to 0.0.26 (#42644) 2020-10-30 19:02:26 +01:00
airthusiast c8944760b7
Fix Fibaro HC2 climate device missing temperature (#42627) 2020-10-30 18:50:59 +01:00
Felipe Martins Diel f9208634bd
Fix on/off button (#42443) 2020-10-30 18:08:37 +01:00
Erik Montnemery 251d8286e0
Revert "Bump hatasmota to 0.0.26 (#42613)" (#42641)
This reverts commit 2dc5c4dd69.
2020-10-30 18:02:44 +01:00
Joakim Sørensen b302534042
Bump pycfdns to 1.2.1 (#42634) 2020-10-30 09:20:42 -05:00
springstan 92379ad8d2
Use list literal without using dict.keys() (#42573) 2020-10-30 09:19:13 -05:00
Federico Leoni 2dc5c4dd69
Bump hatasmota to 0.0.26 (#42613)
* Tasmota : Add new Status Sensors

* Tasmota: add new Status Sensors

* Update RSSI sensor icon

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2020-10-30 14:59:36 +01:00
Malte Franken 8c239f2304
Fix geo_rss_events import statement (#42629)
* bump integration library version

* fix import statement
2020-10-30 12:23:07 +01:00
SNoof85 b3d7f940c5
Fix typo in Flunearyou config flow (#42617) 2020-10-30 12:21:00 +01:00
Erik Montnemery 62b5279d86
Add WS command to remove a Tasmota device (#42266) 2020-10-30 09:56:41 +01:00
J. Nick Koston df552f08c3
Purge unused constants from template helper (#42618) 2020-10-30 09:29:12 +01:00
Rob Bierbooms f470d1e28d
Enable polling for DSMR derivative entity (#42524) 2020-10-30 09:11:25 +01:00
J. Nick Koston 8a403cde00
Defer esphome persistent storage writes until after startup (#42600)
Avoid disk I/O during startup as it can cause delays when
a user has many esphome devices.
2020-10-30 09:02:00 +01:00
J. Nick Koston 2bbd2a6e70
Reduce complexity of storage writes (#42576)
* Reduce complexity of storage writes

* add test

* stop hass

* workaround bad test
2020-10-29 22:35:51 -05:00
Aaron Bach f78e75e16f
Properly unload listener for AirVisual config entry updates (#42583) 2020-10-29 19:04:12 -05:00
HomeAssistant Azure b9d04b9304 [ci skip] Translation update 2020-10-30 00:02:45 +00:00
Clifford Roche 3a11e2c461
Update greeclimate to 0.9.2 (#42616)
Fixes issue with erroneous await in UDP recv queue
2020-10-30 00:49:13 +01:00
Andreas Billmeier c403534ae1
Fix inexact version of pylacrosse (#42610)
* fix inexact version for pylacrosse

* https://github.com/hthiery/python-lacrosse/releases
* https://pypi.org/project/pylacrosse/#history

* Update requirements_all.txt
2020-10-30 00:31:54 +01:00
Bram Kragten 25ac0d2f6e
Update frontend to 20201021.4 (#42590) 2020-10-30 00:14:07 +01:00
Erik Montnemery 153f05afde
Bump hatasmota to 0.0.25 (#42605) 2020-10-30 00:13:49 +01:00
J. Nick Koston 7f1683c731
Remove legacy template extract_entities (#42601) 2020-10-30 00:06:08 +01:00
Nikolai a396f8f76f
Add telegram_sent event (#41159)
Co-authored-by: Heine Furubotten <hfurubotten@users.noreply.github.com>
2020-10-29 17:55:25 -05:00
Erik Montnemery 1215100f9a
Fix MQTT template light (#42598) 2020-10-29 20:09:41 +01:00
cgtobi bebbafdaba
Fix RMV giving wrong data and ignoring given parameters (#42561) 2020-10-29 11:50:39 +01:00
J. Nick Koston c8f00a7b38
Gather all collection listeners and changes at the same time (#42497) 2020-10-29 10:06:55 +01:00
springstan 6b29648cfc
Use common strings in twilio config flow (#42477) 2020-10-29 09:59:15 +01:00
Chris Talkington 708423e0f8
Remove YAML config for roku (#41960) 2020-10-29 09:51:48 +01:00
Chris Talkington 0ba1298f1b
Remove YAML config for directv (#41961) 2020-10-29 09:51:22 +01:00
Michael a2f2a42e66
Fix adding Virtual DSM system in synology_dsm (#42523) 2020-10-29 09:22:36 +01:00
Jason Hunter 2a795c0397
Add guppy3 memory profile to Profiler integration (#42435)
* add guppy memory profile to profiler integration

* add output path to notification

* create new service for memory profile

* address review comments
2020-10-28 21:05:16 -04:00
Aaron Bach 3fb091c4ea
Deprecate YAML config for Flu Near You (0.119 removal) (#42535) 2020-10-28 19:54:51 -05:00
HomeAssistant Azure 026e0063fe [ci skip] Translation update 2020-10-29 00:09:16 +00:00
Aaron Bach 31518937c0
Cleanup RainMachine (#42544) 2020-10-29 00:52:15 +01:00
Jc2k 12da814470
Bump aiohomekit to 0.2.54 (#42532) 2020-10-29 00:06:01 +01:00
Aaron Bach e61e8fafee
Add options flow to RainMachine (#42241)
* Add options flow to RainMachine

* Linting
2020-10-28 15:52:42 -06:00
David Noren aef80263cd
Recollect waste multi day (#41853)
* Add a "next day" attribute for recollect_waste

* Add a "next_day" attribute for recollect_waste

* Added "next day" capability to recollect_waste

* Add a "next_day" attribute for recollect_waste

* Add better try/catch for recollect_waste
2020-10-28 15:37:37 -06:00
Michael 36b1756816
Add update available binary sensor to synology_dsm (#42378)
* 'update available' binary-sensor

* make black compliant

* add available() to SynoDSMUpgradeBinarySensor

* correct spacing

* Correct usage of _with_upgrade

Co-authored-by: Quentame <polletquentin74@me.com>
2020-10-28 20:56:18 +01:00
Guido Schmitz c480284861
Remove listener on async_unload_entry in devolo Home Control (#42520) 2020-10-28 20:54:57 +01:00
springstan a967f689c7
Remove unnecessary instances of dict.keys() (#42518) 2020-10-28 20:43:48 +01:00
Adam Cooper 6e43d489ca
Implement minor Colorfix alterations (#42521)
* Added logic to ensure one of ATTR_URL or ATTR_PATH is provided using cv, updated tests to reflect this

* Added missing explicit None returns
2020-10-28 20:36:10 +01:00
Greg Dowling 0860ce4099
Tidy after adding group services to roon media player (#42512)
* Tidy after adding roon group services.

* Fix missed changes.
2020-10-28 17:32:23 +01:00
Paulus Schoutsen 21e9e7c5c2
Default legacy templates to true (#42511)
* Default legacy templates to true

* Disable legacy_templates in tests

Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-10-28 16:58:16 +01:00
J. Nick Koston 94219c2266
Ensure the oauth2 token is refreshed before it is expired (#42487)
The current implementation assumed clocks were in sync and did
not account for the time it took to refresh the token.  A 20
second buffer has been added to ensure that the token is refreshed
before it expires as OAuth2Session.valid_token would assume the
token was still good even though the remote would reject it
and would not refresh because it was not time yet.
2020-10-28 07:47:54 -05:00
springstan 4e28ae8e3a
Use common strings in life360 config flow (#42375)
* Use common strings for life360 config flow

* Address feedback comments

* Keep two space indentation

* Fix indentation hopefully
2020-10-28 13:29:28 +01:00
springstan 989ab5029a
Use dict.values() when appropriate (#42509) 2020-10-28 11:59:07 +01:00
scheric 9545fce55b
Use common strings in Dexcom config flow (#41767)
* add strings

* remove unused

* revert change

* already_configured_account->already_configured
2020-10-28 11:03:33 +01:00
Sören 0d0cccea7e
Bump avea to 1.5 (#42495) 2020-10-28 11:02:03 +01:00
Franck Nijhof a99c6f0a7b
Upgrade debugpy to 1.1.0 (#42506) 2020-10-28 10:49:58 +01:00
Angelo Gagliano d42bdcfc2a
Move async_add_entities back to event loop for tplink component (#42454) 2020-10-28 09:51:53 +01:00
Paulus Schoutsen e21e28e49f
Fix string representation of template result wrappers (#42494) 2020-10-28 09:11:08 +01:00
Maikel Punie ce51286c53
Bump python-velbus to 2.1.1 (#42414)
* Bump to python-velbus 2.1.0

* bump to 2.1.1
2020-10-27 21:06:09 -05:00
ollo69 c4b3cf0788
Update tuyaha to 0.0.8 and adapt code (#41375) 2020-10-27 20:26:18 -05:00
J. Nick Koston 2858a90d5c
Start homekit bridges with asyncio.gather (#42498) 2020-10-27 19:58:07 -05:00
J. Nick Koston 3c8c5a814b
Fix somfy device recreation on update (#42462)
* Fix somfy device recreation on update

If all devices are assumed state, only update every hour
to ensure the token is refreshed

* pylint
2020-10-27 19:57:22 -05:00
David Bonnes ca0caabce1
Remove zxdavb from honeywell codeowners (#42491) 2020-10-27 19:49:25 -05:00
HomeAssistant Azure 7a06af53ef [ci skip] Translation update 2020-10-28 00:03:38 +00:00
Erik Montnemery 8800b83283
Fix race in Tasmota discovery (#42492) 2020-10-27 23:24:54 +01:00
Paulus Schoutsen d4efa938dd
Improve mqtt test (#42490) 2020-10-27 23:22:59 +01:00
Erik Montnemery f0b676607d
Bump hatasmota to 0.0.24 (#42472) 2020-10-27 23:01:13 +01:00
Bram Kragten 5cf7d8395d
Update frontend to 20201021.3 (#42486) 2020-10-27 23:00:39 +01:00
Paulus Schoutsen e797c28b4a
Bump cryptography to 3.2 (#42489) 2020-10-27 22:59:49 +01:00
Paulus Schoutsen 711b7d4605
Make result wrappers more robust (#42488) 2020-10-27 22:51:58 +01:00
Adam Cooper 4bf8850131
Add color_extractor service (#42129)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-27 22:22:09 +01:00
J. Nick Koston 5ca4b4cd0f
Set the translations cache under the lock (#42470) 2020-10-27 22:02:38 +01:00
Greg Dowling 30a3fe69bc
Add platform services to Roon media player to allow grouping, ungrouping and transfer between players (#42133) 2020-10-27 21:50:20 +01:00
springstan e8ec9b5b40
Use common strings in openuv config flow (#42480) 2020-10-27 13:04:01 -06:00
Simone Chemelli 6a67d29a28
Bump fritzconnection from 1.2.0 to 1.3.4 (#40508)
* Bump fritzconnection from 1.2.0 to 1.3.4

* Updated requirements

* Update other integrations
2020-10-27 16:34:08 +01:00
Allen Porter 8caa177ba1
Add Nest cam support for the SDM API (#42325)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-27 15:20:01 +01:00
Paulus Schoutsen b6df411115
Fix initial state of pi4ioe (#42459) 2020-10-27 15:08:56 +01:00
Tsvi Mostovicz bbbe64f1aa
Fix DLNA DMR media receiver when using Python 3.9 (#42430) 2020-10-27 14:56:45 +01:00
Quentame 6776b1ddd7
Fix DSM Surveillance Station when only home mode is enabled (#42456) 2020-10-27 14:50:20 +01:00
Xiaonan Shen f23fcfcd9b
Fix yeelight connection issue (#40251)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-27 14:47:11 +01:00
epenet 08342a1e05
Move onewire entity classes to separate module (#42445) 2020-10-27 14:34:25 +01:00
Paulus Schoutsen b2598d2241
Use async functions for Somfy (#42448) 2020-10-27 14:08:32 +01:00
Angelo Gagliano 34283ac283
Add retry for unavailable static tplink devices after HA starts (#42247) 2020-10-27 10:02:16 +01:00
João Gabriel b45ac5159d
Add device info default values to Panasonic Viera (#42441) 2020-10-27 09:03:07 +01:00
J. Nick Koston df25feab37
Convert somfy to use DataUpdateCoordinator (#42434) 2020-10-26 23:42:12 -05:00
epenet f3a15eab6e
Discover onewire devices at startup (#42410) 2020-10-26 23:36:51 -05:00
springstan 5f3384fc8a
Add elevation to base strings for config flows (#42377) 2020-10-26 23:30:20 -05:00
springstan caa378d7aa
Add mode to base strings for config flows (#42373) 2020-10-26 23:29:49 -05:00
rajlaud 67269659f7
Improve Squeezebox media browser performance (#42439)
* Bump pysqueezebox version to better handle large libraries for media browser

* Merge changes into requirements
2020-10-26 23:12:03 -05:00
J. Nick Koston 9e3d9af8e9
Set device class for lutron_caseta cover (#42436)
Since only shades are supported by the current code
always set to DEVICE_CLASS_SHADE
2020-10-26 20:43:04 -05:00
HomeAssistant Azure f4cebfbb7e [ci skip] Translation update 2020-10-27 00:06:28 +00:00
Aaron Bach 02f86f01bc
Bump simplisafe-python to 9.6.0 (#42437) 2020-10-26 17:26:03 -06:00
J. Nick Koston 325b66c41c
Restore somfy state in optimistic mode on restart (#42426) 2020-10-26 17:15:39 -05:00
Robert Svensson f0e11f713e
Make sure to clean up httpx session on failed connection to Axis device (#42428) 2020-10-26 22:12:21 +01:00
Jason Hunter 6f2b0c756a
Remove title string from Xbox translations (#42431) 2020-10-26 22:10:30 +01:00
Franck Nijhof ba655c5451
Add missing config flow translation key for Nest (#42423) 2020-10-26 20:29:20 +01:00
Franck Nijhof 0e98bc5ea2
Skip template result parsing in several places (#42408)
* Skip template result parsing in several places

* Adjust alert integration

* Adjust Alexa integration

* Adjust apns integration

* Adjust arest integration

* Adjust dialogflow integration

* Adjust generic camera integration

* Adjust imap email content  integration

* Adjust InfluxDB integration

* Adjust intent integration

* Adjust logbook integration

* Adjust HP ILO integration

* Adjust manual alarm control panel integration

* Adjust manual mqtt alarm control panel integration

* Adjust minio integration

* Adjust mqtt integration

* Adjust notify integration

* Adjust persistent notification integration

* Adjust rest integration

* Adjust rss feed template integration

* Adjust slack integration

* Adjust Xiaomi integration

* Adjust TCP integration

* Adjust Telegram Bot integration

* Bump CI cache version

* Revert "Bump CI cache version"

This reverts commit 875efe58cf.

* Adjust demo tests
2020-10-26 19:29:10 +01:00
Paulus Schoutsen 6380ebd1eb
Fix MQTT publish from a script with templates (#42398) 2020-10-26 16:46:26 +01:00
Paulus Schoutsen 810ef349c3
Do not set up DSM when setting up Nest legacy (#42406) 2020-10-26 16:40:43 +01:00
Paulus Schoutsen a12a8350ce
Catch ValueError in google_translate (#42405) 2020-10-26 16:38:48 +01:00
epenet 0de52c173c
Implement PlatformNotReady on onewire integration (#42395) 2020-10-26 16:33:13 +01:00
Franck Nijhof 45aba9bdf2
Allow skip parsing template result (#42401) 2020-10-26 16:01:09 +01:00
Tsvi Mostovicz 80e8068b46
Bump libhdate depndency (#42396)
* Bump libhdate depndency

This version fixes an important bug found by @amitfin in py-libhdate/py-libhdate#78

* Update reqs

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-10-26 15:26:21 +01:00
Franck Nijhof a82c1e9506
Upgrade debugpy to 1.0.0 (#40929) 2020-10-26 14:59:49 +01:00
Franck Nijhof 55a4aba9ae
Deprecate ptvsd integration (#42351) 2020-10-26 14:59:31 +01:00
Erik Montnemery 029963dfc2
Bump hatasmota to 0.0.23 (#42394) 2020-10-26 14:58:36 +01:00
Paulus Schoutsen bba770b411
Fix CI (#42397) 2020-10-26 13:36:03 +01:00
Paulus Schoutsen e552c9ba96
Store original result on template results (#42391)
* Store original result on template results

* Fix shell command test
2020-10-26 11:30:58 +01:00
Glenn Waters 6645cb2637
Cleanup log style and tests for ElkM1 (#42353) 2020-10-26 10:36:28 +01:00
Emily Mills 00df7539cf
Use string-lights icon for zerproc (#42379) 2020-10-26 09:04:58 +01:00
Maksym D 92b06ed5d4
Change AfterShip polling interval from 5m to 15m (#42360)
This change will prevent reaching API requests limit of AfterShip free-tier account.
2020-10-26 08:38:37 +01:00
HomeAssistant Azure c2a9f2ae52 [ci skip] Translation update 2020-10-26 00:03:36 +00:00
J. Nick Koston ce2c388c09
Ensure config entry platforms are excluded from reload (#42367) 2020-10-25 23:53:31 +01:00
springstan fe62543a25
Add location to base strings for config flows (#42374) 2020-10-25 23:41:26 +01:00
springstan cbf6086c30
Use common strings in luftdaten config flow (#42376) 2020-10-25 23:40:12 +01:00
wouterbaake e6400fc11b
Use common strings in opentherm_gw config flow (#42211)
* Use common strings in opentherm_gw config flow

* Combine TimeourError and SerialException handling

* Fixed test_form_connection_error

* And then fix the flake8 error...

* Change "timeout" to "cannot_connect" msg
2020-10-25 22:01:05 +01:00
Paulus Schoutsen de12ac354a
Expose more Websocket API constants (#42263) 2020-10-25 21:10:13 +01:00
epenet c157a582b8
Add device_info to onewire sensors (#42309)
* Add device info

* Cleanup log
2020-10-25 18:05:02 +01:00
SukramJ 9a970cfe3d
Remove split devices from HMIPC (#42348) 2020-10-25 11:03:41 -05:00
Maikel Punie 396f75b4c3
Bump python velbus to 2.0.47 (#42349) 2020-10-25 15:41:32 +01:00
Brett T. Warden ab5e34a49f
Fix error strings for PTZ operations (#42231)
PTZ error strings for unsupported move operations were copied/pasted
from ContinuousMove. Fix the strings for AbsoluteMove and RelativeMove.
2020-10-25 14:52:32 +01:00
J. Nick Koston 221bb5ad52
Upgrade to aiohttp 3.7.1 (#42305) 2020-10-25 14:44:39 +01:00
Andre Lengwenus 99e2d13668
Fix parameter issue in LCN cover close/stop (#42342) 2020-10-25 13:44:39 +01:00
mezz64 bf4cc364e9
Bump pyhik to 0.2.8 (#42322) 2020-10-25 13:32:41 +01:00
J. Nick Koston 3f18cdc75e
Refactor august to use self.async_on_remove (#42333) 2020-10-25 07:27:51 -05:00
J. Nick Koston 6822190772
Fix unmocked https in the test suite (#42316) 2020-10-25 07:16:23 -05:00
airthusiast 3846639744
Fix for Fibaro HC3 support, climate temp sensor and target temp (#42300) 2020-10-25 13:06:45 +01:00
Alex Popoutsis 64b1ccd8f6
Add WLED preset service (#42217)
Co-authored-by: djtimca <60706061+djtimca@users.noreply.github.com>
2020-10-25 12:44:26 +01:00
mezz64 dc37368440
Bump pyeight to 0.1.5 (#42323) 2020-10-25 12:37:49 +01:00
ChristianKuehnel 9509e33a32
Remove ChristianKuehnel from codeowners (#42335) 2020-10-25 11:36:09 +01:00
Glenn Waters cc77621477
Clean up ElkM1 lib (#42319) 2020-10-24 23:46:22 -05:00
uvjustin f8d87bff16
Fix AVError and allow more missing DTS packets in stream (#42277)
* Fix AVError and allow more missing DTS in stream init

* Avoid recreating container demux iterator

* Relax missing dts requirement

* Fix spelling error

* Fix error message count

* Add timeout to av.open read

* Increase STREAM_TIMEOUT to 30
2020-10-24 22:55:12 -04:00
walthowd 09bd449698
Send pro-active IAS Enroll Response (#42282)
* Send pro-active IAS Enroll Response 

Some zigbee devices require a pro-active IAS enroll response to be sent before they will send their IAS enroll request.  This PR sends a single IAS enroll response after CIE write and fixes some of these devices including the Ecolink 4655BC0-R and many others. 

This also more closely aligns with the default behavior of Smartthings and zigbee2mqtt which also send pro-active enroll requests:

b217b91bb7 (diff-6d00af5fc389c40b8c4dfc390d80e3eca3946d331dff84afdc1632cb5568bca2)

Thanks to @puddly for helping figure this all out and @tubalainen for testing.

* flake8 fixes

* flake8 again
2020-10-24 21:41:27 -04:00
HomeAssistant Azure 12a9504203 [ci skip] Translation update 2020-10-25 00:03:36 +00:00
Teemu R bdb71c9159
Only log xiaomi_miio update exceptions once (#41226)
* xiaomi_miio: only log update exceptions once

Replaces #37695

* add som more missed exception logger cases + do not change the control flow as pointed out by @cgtobi

* Use patch&MagickMock from tests.async_mock

* Fix linting for alarm_control_panel

* update the test to verify that the warning on update is only logged when the device was previously available
2020-10-25 01:53:36 +02:00
Jörg Thalheim 51915c86cb
Fix iCloud matching accounts (#42303)
`name` is no longer defined but `username`.
Fixes #38393
2020-10-25 01:07:17 +02:00
J. Nick Koston c1a7896a40
Minimize sense writes to the state machine (#42310)
Sense was generating hundred state updates when most
of the time the state was not changing
2020-10-24 23:35:21 +02:00
Allen Porter 5e9de88f4b
Fix nest to stop doing asyncio in a property (#42312)
This upgrades to the latest vesion of python-google-nest-sdm that
had bug fixes to stop doing asyncio in a property.
2020-10-24 23:33:52 +02:00
epenet 5db1474099
Add device_class information to onewire sensors (#42308) 2020-10-24 14:45:01 -05:00
cgtobi d13402108b
Add unit of measurement to Netatmo sensors (#42208)
* Add unit of measurement

* Update homeassistant/components/netatmo/sensor.py

Co-authored-by: Chris Talkington <chris@talkingtontech.com>

* Update sensor.py

* Update sensor.py

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-24 14:43:54 -05:00
Robert Svensson e06c8009e1
Add area id to entity registry (#42221)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-24 21:25:28 +02:00
Alan Tse b54dde10ca
Fix Tesla attribute refreshing (#42257)
* Fix Tesla attribute refreshing

* Remove extraneous copy
2020-10-24 21:13:40 +02:00
Allen Porter 0c852b5f81
Update nest integration with fixes from initial PR (#42250) 2020-10-24 20:48:28 +02:00
Franck Nijhof 7a6d82d997
Upgrade spotipy to 2.16.1 (#42293) 2020-10-24 18:19:57 +02:00
Erik Montnemery bfb603fe78
Fix reconfiguring of Tasmota lights (#42288) 2020-10-24 14:31:08 +02:00
Erik Montnemery 15f46392d2
Fix Tasmota CT light (#42287) 2020-10-24 14:29:26 +02:00
Rob Bierbooms 79fac17c28
Add unique_id and device_info to DSMR entities (#42279)
* Add unique ids and device info

* Fix tests

* Add tests

* Apply suggestions from code review

Co-authored-by: Chris Talkington <chris@talkingtontech.com>

* Fix black

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-24 06:22:23 -05:00
SukramJ 6efb782871
Add wired devices to Homematic IP Cloud (#41232)
* Add wired devices to HomematicIP Cloud

* Add test to check device registry

* Add comments

* Update comment
2020-10-23 21:14:54 -05:00
Sebastian Muszynski ea0e359d90
Bump PyXiaomiGateway version to 0.13.4 (#42262) 2020-10-23 21:07:45 -05:00
epenet 6ef53a2c5d
Add config flow for One wire (#39321)
* Add support for config_flow
Add support for switches
Add support for binary sensors

* Add config flow strings

* Update .coveragerc

* black-formatting

* fixes for isort and flake

* fixes for pylint

* fixes for isort

* fixes for isort

* fixes for config_flow

* Add devices to Device Registry

* Updated comments

* fixes for flake8

* Updated comments

* Updated comments

* Implement async_unload_entry

* remove binary_sensor and switch implementation (will move to new PR)

* Update .coveragerc

Co-authored-by: Chris Talkington <chris@talkingtontech.com>

* Update .coveragerc

* Review config flow to store the configuration type

* Add config_flow tests

* Move CONF_NAMES to constants

* Fix isort

* Tweak to onewire logger

* Tweak to onewire logger for sensor

* Reset _LOGGER variable

* Normalise header

* Normalise header

* Update to use references in config flow translations

* Improve test coverage

* fixes for isort

* Update async_unload_entry

* Update common strings

* Update imports

* Move connect attempt to executor

* Update common strings

* Remove OWFS from config_flow

* Prevent duplicate config entries

* Fix isort

* Fix flake8

* Fix tests following removal of OWFS implementation

* Fix flake8

* Adjust config from yaml to config-flow, and add ability to specify sysbus directory

* Ajust unique_id for config entries

* Fix test_config_flow

* Fix invalid merge

* Convert yaml to config_entry

* Update sysbus tests

* Tweaks to yaml import process, and add OWFS warning

* Enable migration of OWFS platform config to config_entry

* update the existing corresponding config entry on OWFS conversion

* Remove CONFIG_SCHEMA

* Move data_schema to constants

* Remove log message

* Remove duplicate warning

* Update already_configured to use already_configured_device constant

* Schedule get_entities on the executor

* Update duplicate entry check for OWServer

* Review TryCatch

* Schedule os.path.isdir on the executor

* rename owhost/owport

* Update checks for empty

* Fix incorrect patch

* Move config_flow validation methods to new OneWireHub

* Fix typo and pre-commit

* Cleanup try/else

* patch async_setup/async_setup_entry

* cleanup implicit exit point

* Fix invalid patch

* cleanup implicit exit point

* cleanup implicit exit point

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-23 20:57:16 -05:00
HomeAssistant Azure ed232ac733 [ci skip] Translation update 2020-10-24 00:05:17 +00:00
Schachar Levin af048715f0
Add next alarm time sensor to Garmin (#40420)
* Add sensor for garmin next alarm(s)

* code-review changes

* type fix

* linter fix

* review fixes
2020-10-23 23:01:29 +02:00
Greg Dowling e997e3a2eb
Tidy Roon media_browser following recently merged PR (#42276)
* Tidy media_browser details.

* Apply suggestions from code review

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-23 20:33:30 +02:00
J. Nick Koston 4bf9ce6fca
Add support for homekit garage obstruction sensors (#42243) 2020-10-23 12:18:02 -05:00
Erik Montnemery 88231aa541
Fix Tasmota relay acting as on/off light (#42259) 2020-10-23 17:40:43 +02:00
J. Nick Koston 5bba299e8f
Ensure event listener integrations do the queue insert as a callback (#42265) 2020-10-23 17:38:46 +02:00
Paulus Schoutsen 5dac3883b0
Stub light profiles (#42232) 2020-10-23 16:28:21 +02:00
TheJulianJES 7618fe6111
Fix polling of color for ZHA lights not updating (#42248) 2020-10-23 09:14:37 -04:00
Willem-Jan 1340abb2fe
Bump version bsblan library to 0.4.0 (#42220) 2020-10-23 14:32:47 +02:00
Alan Tse 20c43df768
Fix is_on test for Tesla Charger switch (#42251)
closes #41755
2020-10-23 13:17:10 +02:00
BrianWithAHat 3fa97f5fc0
Fix MaryTTS filename extensions (#42228)
Co-authored-by: Brian Laferriere <BrianWithAHat@users.noreply.github.com>
2020-10-23 09:25:55 +02:00
Aaron Bach 536f1186b0
Remove remnants of configurable RainMachine scan interval (#42239)
* Remove remnants of configurable RainMachine scan interval

* Clean up tests

* Cleanup
2020-10-22 21:32:04 -05:00
HomeAssistant Azure 6e53aa1155 [ci skip] Translation update 2020-10-23 00:03:04 +00:00
Alexei Chetroi 0ab7bc7e75
Update ZHA dependencies (#42245) 2020-10-23 01:30:32 +02:00
J. Nick Koston 4a3b40a3ef
Ensure websocket event serializer cache is effective if subscription iden differs (#42226)
Since someone websocket subscriptions will use an iden of 2 for
state_changed event (most comment), and some will use another
number for all events, the cache would not be used because the
iden number was different.  We now cache only the event and
use a fast replace to insert the iden number into the serailized
response.
2020-10-23 01:28:22 +02:00
Erik Montnemery de35d58fd4
Support reloading Tasmota config entries (#42097) 2020-10-23 01:22:51 +02:00
Bram Kragten 3661035397
Update frontend to 20201021.2 (#42242) 2020-10-23 01:17:47 +02:00
Anders Melchiorsen cb0c937b3e
Refresh now() templates on second=0 (#42225) 2020-10-23 00:11:02 +02:00
rikroe 4e917cf62c
Bump bimmer-connected to 0.7.8 to fix login issue (#42215)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2020-10-22 22:30:21 +02:00
Tom Harris c07b146e58
Fix issue in python > 3.8.2 (#42213) 2020-10-22 22:04:06 +02:00
tkdrob d1c8485297
Correct docstring in Skybell (#42218) 2020-10-22 14:38:15 -05:00
Niccolo Zapponi 93841e3e0c
Fix bug for SimpliSafe 2 systems repeatedly saying "your settings have been synchronised" (#42197)
* Fix bug for SimpliSafe 2 systems

* Improved loop and logging for SimpliSafe 2
2020-10-22 10:01:10 -06:00
Erik Montnemery 57cd3058d9
Always use shared zeroconf in cast config flow (#42210) 2020-10-22 17:47:19 +02:00
Guido Schmitz 13b2d10194
Handle multiple setups of devolo Home Control (#41752) 2020-10-22 15:01:44 +02:00
Andre Lengwenus 22db1a509d
Bump pypck to v0.7.4 (#42206) 2020-10-22 15:00:37 +02:00
Greg Dowling 9a54c31c34
Add media browser support to roon media player (#42061) 2020-10-22 14:54:55 +02:00
Franck Nijhof 05a65bb612
Upgrade shodan to 1.24.0 (#42199) 2020-10-22 11:21:15 +02:00
Erik Montnemery 6194c382cb
Bump PAHO MQTT to 1.5.1 (#42099) 2020-10-22 10:08:19 +02:00
Guido Schmitz c211275091
Fix precision of climate devices in devolo Home Control (#41832) 2020-10-22 10:06:16 +02:00
cgtobi c052c261d5
Add Netatmo sensor enable default (#41928) 2020-10-22 10:01:43 +02:00
jaydesl f92ebde75a
Add more builtins to safe list (python_script) (#42146) 2020-10-22 09:59:49 +02:00
uvjustin 1c58a0fedc
Version bump pyforked daapd and add error string for forbidden (#42156) 2020-10-22 09:57:40 +02:00