Commit Graph

22420 Commits (6b21df90537e45a5339f2234933bfa54f2124f12)

Author SHA1 Message Date
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
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
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
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
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
Raman Gupta 148a7ff50c
Set Vizio unique ID for discovery flow early and abort if configured to prevent duplicate discovery flows (#42194) 2020-10-22 09:20:17 +02:00
HomeAssistant Azure b102ad731f [ci skip] Translation update 2020-10-22 00:09:52 +00:00
Bram Kragten 98697a504f
Updated frontend to 20201021.1 (#42185) 2020-10-22 00:17:13 +02:00
Ronan Murray dab5e5ebc9
Rewrite london_air tests in pytest style (#41165) 2020-10-21 23:49:28 +02:00
Diogo Gomes 1f850f6374
Enable co-existence of two IPMA weather entities for the same location (#40354)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-21 23:41:06 +02:00
uvjustin 6a59e79bc6
Remove duplicated finalize_stream code in stream (#42171) 2020-10-21 23:36:54 +02:00
Aaron Bach 8e063e94da
Bump simplisafe-python to 9.5.1 (#42179) 2020-10-21 23:35:48 +02:00
Aaron Bach 8bcfe4c859
Remove coordinator success from SimpliSafe availability calculation (#42180) 2020-10-21 23:35:20 +02:00
Franck Nijhof 813406573b
Add counter and timer to default_config (#42174) 2020-10-21 20:53:20 +02:00
Robert Svensson 1a97b0edd9
Fix deCONZ device refresh service (#42175) 2020-10-21 20:35:19 +02:00
Bram Kragten e7d806c832
Update frontend to 20201021.0 (#42173) 2020-10-21 20:21:22 +02:00
Robert Svensson a62db7887b
Bump Axis dependency (#42168) 2020-10-21 17:48:57 +02:00
Jason Heddings 1fe5928818
Handle type error in hunterdouglas_powerview (#42137) 2020-10-21 10:37:23 -05:00
Kevin Cathcart 754ba18af0
Add persistent_notification service to the notify platform (#40638)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-21 17:12:36 +02:00
Quentame bb641c23a9
Bump python-synology to 1.0.0 (#42161) 2020-10-21 16:42:07 +02:00
Paulus Schoutsen 5626a379de
Guard bad supported features for Google (#42163) 2020-10-21 16:37:42 +02:00
Chris Talkington d8577a1550
Add config flow for cloudflare (#41167)
* add config flow for cloudflare

* Create const.py

* work on flow.

* remove const.

* lint.

* Apply suggestions from code review

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update config_flows.py

* Update homeassistant/components/cloudflare/strings.json

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Update strings.json

* Apply suggestions from code review

* Update __init__.py

* Update __init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-10-21 09:09:00 -05:00
Erik Montnemery e203896638
Align MQTT light's default color temperature (#41842) 2020-10-21 15:46:29 +02:00
On Freund a07c0d1605
Fallback to mac in Shelly config flow title (#40783) 2020-10-21 15:05:06 +02:00
Maciej Bieniek f855ff8751
Bump aioshelly library to 0.4.0 (#41905)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-21 13:37:17 +02:00
Olen abeff01626
Add async_setup_entry to calendar platform (#42075) 2020-10-21 13:20:34 +02:00
Kevin Cathcart 0674ae6205
Fix pico tts errors (#41619)
Enabled the use of mutagen in unit tests.
Added a test for tagging a minimal .wav file.
2020-10-21 11:58:07 +02:00
J.P. Hutchins c677489535
Handle Fritz exception and log warning (#42145) 2020-10-21 11:02:44 +02:00
Franck Nijhof 5671063ddc
Upgrade sentry-sdk to 0.19.1 (#42132) 2020-10-21 11:01:11 +02:00
Dermot Duffy 83e843820b
Use the beautiful ambient light icon (#42153) 2020-10-21 11:00:19 +02:00
Paulus Schoutsen 45345ddc05
Improve handling of ignored entries (#42148) 2020-10-21 10:49:09 +02:00
Allen Porter 52b66e88c7
Update Nest integration to support Google Nest Device Access (new API) (#41689)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-21 10:17:49 +02:00
Jeff Irion 9bc0509f28
Bump androidtv to 0.0.52 (#42155) 2020-10-21 09:51:13 +02:00
HomeAssistant Azure 00847db54f [ci skip] Translation update 2020-10-21 00:06:01 +00:00
cgtobi 70969ecbfb
Add attribute for camera light state (#40575) 2020-10-20 21:57:00 +02:00
Brett 582074d1db
Improve Advantage Air integration to Platinum quality (#41996)
* Rename to ADVANTAGE_AIR_DOMAIN

* Remove attributes from binary sensor platform

* Handle other motionConfig values

* Restructure

* Unloading

* Fix unloading

* PARALLEL_UPDATES

* Remove pointless check

* Rollup to sensor

* Rollup to switch platform

* @ctalkington suggestion of added __init__ back

* Fix unload test

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

* Fix ENTRY_STATE_NOT_LOADED

* Update test docstring

* Remove obsolete __init__'s

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

* Remove unused __init__ from cover

* Code Quality 🏆 Platinum

* Re-push manifest.json

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-10-20 13:30:09 -05:00
J. Nick Koston 023268df38
Update nuheat exception handling (#42127)
* Update nuheat exception handling

* remove unneeded exception handler
2020-10-20 20:22:10 +02:00
Brian Rogers 199464f084
Add rachio service to start multiple zones (#42092) 2020-10-20 13:14:39 -05:00
J. Nick Koston 5a907095e5
Remove logging from state in flume (#42126) 2020-10-20 16:41:06 +02:00
Yuval Aboulafia 6c3362217e
Add light group icon (#42091) 2020-10-20 13:54:43 +02:00
Rob Bierbooms be431ce12a
Set should_poll property for DSMR integration (#42108) 2020-10-20 12:14:09 +02:00
wouterbaake 1363fbb02a
Set force_update property for DSMR integration (#42086) 2020-10-20 09:45:43 +02:00
Robert Svensson 1303d20064
Adapt Axis integration to async HTTPx calls (#42095) 2020-10-20 09:31:04 +02:00
rajlaud fcdb54d878
Add browse media support to squeezebox integration (#40642)
* Add browse media support to squeezebox integration

* Move browse media logic to browse_media.py

* Fix missing command when loading single url

* Update .coveragerc

* Handle empty library gracefully

* Apply suggestions from code review

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

* Implement suggestions from code review

* Additional suggestion from code review

* Use MEDIA_CLASS_GENRE

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-20 01:17:00 -05:00
Colin Robbins b3a97c7b42
Bump lightwave to 0.19 (#42033)
* Python 3.9 compatibilty

* Python 3.9 compatibility
2020-10-20 03:03:35 +02:00
HomeAssistant Azure 81296b2b70 [ci skip] Translation update 2020-10-20 00:08:00 +00:00
jjlawren e6e4c9cf59
Allow Cast to play Plex media (#41869)
* Allow Cast to play Plex media

* Add Plex to after_dependencies, add missing constant

* Extract function from Sonos service to allow media lookups

* Move to non-async method

* Check if media_id exists

* Add test to make codecov happy
2020-10-19 16:34:22 -05:00
Paulus Schoutsen b8417a2ce2
Do not allow coroutines to be passed to HassJob (#42073)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-10-19 23:25:33 +02:00
Erik Montnemery ec7f329807
Add support for Tasmota status sensor (#41782)
* Add sensor attributes, remove useless test.

* Fix tests

* Rework handling of sensor attributes

* Remove unused sensor attributes

* Hide status sensors

* Bump hatasmota to 0.0.19

* Use DEVICE_CLASS_SIGNAL_STRENGTH for WiFi signal sensor

* Improve test coverage

* Fix tests
2020-10-19 22:07:31 +02:00
ehendrix23 4da6c22338
Update pymyq to 2.0.8 (#42088) 2020-10-19 20:11:21 +02:00
Robert Svensson de98168211
Axis lib migrates to httpx (#42054)
* Clean up some parameter naming

* Bump lib

* Bump to v39
2020-10-19 20:01:25 +02:00
Rihan9 d01a96d1ce
Fix onvif sensor detection and onvif stop service call (#41949)
* Fix stop service call after movement, add new parser for topic: tns1:RuleEngine/MotionRegionDetector/Motion

* Fix PullMessages call and formatting Stop call

* Fix timeout on pullmessages call

* Fix black and flake8 detected issues

* add SetSynchronizationPoint with try/except block
2020-10-19 13:01:34 -04:00
epenet 4459c843ea
Deprecate OWFS/FUSE implementation in onewire integration (#42041)
* Add warning

* Fix black

* Combine logging messages

* Combine logging messages
2020-10-19 18:23:43 +02:00
Jeff Irion 5db01ed7cf
Bump androidtv to 0.0.51 (add support for Google TV devices) (#42047) 2020-10-19 10:58:56 -05:00
Paulus Schoutsen 440570244d
Don't swallow all errors when checking for config validator platform (#42058) 2020-10-19 17:09:57 +02:00
Paulus Schoutsen 8949eb2442
Add httpx as a core dep (#42071) 2020-10-19 10:18:47 +02:00
Cristian Asenjo 344514601d
Sort Kodi BrowseMedia children TV Shows and Movies (#41377) 2020-10-19 09:55:17 +02:00
J. Nick Koston 9649525fe6
Increase coverage and optimize history skip_initial_state (#42014)
Avoids a database query when all states have not
changed in the time window when skip_initial_state
is set.
2020-10-19 09:53:47 +02:00
Paulus Schoutsen 388a5d8c91
Add entity ID to time trigger (#41933) 2020-10-19 09:42:00 +02:00
Colin Robbins 6f8e3d2544
Update stream integration for Python 3.9 which removed isAlive from threading in favor of is_alive (#42051)
Python 3.9 compact
2020-10-18 23:42:50 -04:00
Jason Hunter 33f0bf4c4a
Do not guess app state in Xbox integration (#42067) 2020-10-18 23:30:44 -04:00
Jason Hunter 5a397312e7
Update ONVIF to Zeep 4.0/httpx (#42020)
* convert to httpx and zeep 4.0

* fix tests

* add onvif-zeep-async to manifest

* pin zeep to fool CI cache

* address review comments
2020-10-18 23:29:53 -04:00
Glenn Waters 304b9f47b4
ElkM1 fix auto-configure. (#42064)
The elkm1-lib autoconfigure set the `configured` flag based on an
attribute of the element being changed. This approach misses counters
and thermostats. It also does not work well well an "unconfigured"
element's default value is different from what is on the panel. This
was the case for zones (the `area` attribute was different).

The fix in the library is to mark an element as `configured` when
the element has a name associated with it. This change is
technically breaking, although I imagine, few if any people will be
affected as (1) they configure names on all elements (2) the
functionality was not working properly, so element would not be missing.

The HA docs will be updated to add a section on autoconfigure. It will
describe that to have an element automatically configured then the
element must be configured on the ElkM1 panel with a name.

This particular patch is required for ElkM1 areas. The existing logic
assumes that an area is configured if it has an associated keypad. Not
all areas have keypads (I have an area only armable with HA). The
library fix should catch all configured areas.
2020-10-18 19:48:20 -05:00
HomeAssistant Azure 59a3add24a [ci skip] Translation update 2020-10-19 00:03:28 +00:00
J. Nick Koston c86dfeb6e2
Remove double timeout from gogogate2 (#42052) 2020-10-18 15:46:13 -05:00
Eugene Prystupa 6366872119
Add support for Bond fireplaces with integrated lights (#41255) 2020-10-18 14:11:24 -05:00
Guido Schmitz e5eae22ad8
Disable less popular entities in devolo Home Control (#41945) 2020-10-18 14:07:24 -05:00
Bas Nijholt 2604bf59ad
Set keyword arguments in DemoLight (#42040)
I noticed that the signature was very hard to read when working on https://github.com/home-assistant/core/pull/40626.
2020-10-18 13:57:35 -05:00
scheric 22b360a10e
Use common strings in ambiclimate config flow (#41772)
* already_configured_account->already_configured

* add authenticated string

* oauth2_missing_...->missing_configuration
2020-10-18 20:55:32 +02:00
Ronaldo Lima d6d17aa295
Replace invalid credentials with common string invalid_auth (#41997)
* add GeoNet NZ Volcano to home-assistant#40578

* move invalid_credentials

* revert geonet nz volkano

* change invalid_credentials to invalid_auth

* change translation keys
2020-10-18 13:55:01 -05:00
scheric 24cfca812e
Use common strings in sharkiq config flow (#41773)
* already_configured_account->already_configured

* remove already_configured_account

* already_configured_account->already_configured
2020-10-18 20:50:58 +02:00
J. Nick Koston 8c27a99386
Convert nuheat to use DataUpdateCoordinator (#42034)
* Convert nuheat to use DataUpdateCoordinator

* coverage

* Update homeassistant/components/nuheat/climate.py
2020-10-18 13:45:47 -05:00
J. Nick Koston 37df7bf4c5
Convert flume to use DataUpdateCoordinator (#42017)
* Convert flume to use DataUpdateCoordinator

* pylint

* Update homeassistant/components/flume/sensor.py

* Update homeassistant/components/flume/sensor.py
2020-10-18 13:44:36 -05:00
J. Nick Koston 6c1078d1ca
Reduce ssdp context switches into the executor (#42045)
* Reduce ssdp context switches into the executor

* no self use
2020-10-18 13:44:01 -05:00
shbatm c4821bfa74
Improve ISY994 NodeServer sorting and format sensor display values (#42050) 2020-10-18 13:33:45 -05:00
Brig Lamoreaux a17da16dd2
Use common strings in xiaomi_aqara (#41866)
* Use common strings in xiaomi_aqara

* Remove mixed strings
2020-10-18 20:32:18 +02:00
Brett 5fab68725d
Add Switch platform to Advantage Air (#41995)
* Add Switch platform

* Rename DOMAIN in climate

* Revert "Rename DOMAIN in climate"

This reverts commit 271ac7b8a5.

* Update unique_id

* Use constants

* Add switch platform to init

* Fix path for change

* Add tests

* Fix indentation of async_add_entities
2020-10-18 13:30:53 -05:00
Aaron Bach 91fd59aa57
Fix incorrect initial state with SimpliSafe locks (#42039)
* Fix incorrect initial state with SimpliSafe locks

* Cleanup
2020-10-18 12:21:48 -06:00
shbatm 941453dca9
Upgrade PyISY to v2.1.0, add support for variable precision (#42043) 2020-10-18 11:45:15 -05:00
Felipe Martins Diel d96a1744f0
Improve RemoteEntity class (#40605) 2020-10-18 08:59:36 -05:00
Ronaldo Lima 1355d285e8
Remove unused strings in deCONZ config flow (#41978) 2020-10-18 15:26:40 +02:00
David Straub 6b77633e6e
Bump homeconnect to 0.6.3 (#42022) 2020-10-18 10:33:19 +02:00
HomeAssistant Azure 1a03bbda5a [ci skip] Translation update 2020-10-18 00:03:28 +00:00
Erik Montnemery 515a6479a4
Bump hatasmota to 0.0.18 (#42000)
* Bump hatasmota to 0.0.17

* Bump hatasmota to 0.0.18
2020-10-18 00:00:28 +02:00
Aaron Bach 95f66ff4d5
Add low battery sensor for SimpliSafe locks (#42010) 2020-10-17 14:41:01 -05:00
Aaron Bach 8b6336a91a
Move SimpliSafe REST API to DataUpdateCoordinator (#41919)
* Mirgrate SimpliSafe REST API to DataUpdateCoordinator

* Docstring

* More work

* Good to go

* Linting

* Restore previous initial event check

* Linting

* Comment

* Simplify listener

* Code review

* Cleanup
2020-10-17 14:40:34 -05:00
J. Nick Koston 183f94364a
Parse html in the executor for scrape sensors (#41987) 2020-10-17 18:57:59 +02:00
Robert Svensson c6c617ed31
Improve device registry for host and deCONZ service (#41786) 2020-10-17 11:44:23 -05:00
mezz64 92669d33aa
Bump pyEmby to 1.7 (#41984) 2020-10-17 11:35:23 -05:00
Brett e71d851973
Add Sensor Platform to Advantage Air (#41870)
* WIP Add Sensor platform

* Code quality improvements

* Readability improvements

* Fix RSSI in fixture

* Sensor platform tests

* Created parent sensor class

* Fix DOMAIN namespace

* Code Coverage fix for impossible case

* Use parent class

* Add to fixture for code coverage

* Description Update

* Use consistent name for ADVANTAGE_AIR_DOMAIN

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* Set ADVANTAGE_AIR_DOMAIN where required

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2020-10-17 11:29:36 -05:00
marecabo 2443f5d108
Add device classes to battery, illuminance and temperature miflora sensor (#41975) 2020-10-17 11:25:26 -05:00
Erik Montnemery 5d1b4f5c87
Bump pychromecast to 7.5.1 (#41991) 2020-10-17 11:22:58 -05:00
Aaron Bach 1b94ef69d8
Migrate IQVIA to DataUpdateCoordinator (#41970)
* Migrate IQVIA to DataUpdateCoordinator

* Linting

* Code review

* Better re-raise
2020-10-17 11:16:41 -05:00
J. Nick Koston c0845a3650
Prevent ios sensor updates from running in the executor (#41986)
The update was only checking an existing dict
2020-10-17 15:38:42 +02:00
J. Nick Koston d9fbde4f6c
Prevent doorbird from creating many executor jobs (#41985) 2020-10-17 15:35:24 +02:00
Ronaldo Lima 121613f5e6
Use common string in GeoNet NZ Volcano (#41981)
* add GeoNet NZ Volcano to home-assistant#40578

* change key from already_configured_location to already_configured on GeoNet NZ Volkano
2020-10-17 15:07:44 +02:00
Stuart Mumford d0b1b0a39e
Bump oemthermostat to 1.1.1 (#41998)
The library update is a packaging fix for upcoming pip dependency
resolution
2020-10-17 14:05:22 +02:00
Paulus Schoutsen 39ba0fc7ee
Remove BOM integration because it uses webscraping (#41941)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-17 13:56:11 +02:00
Gautham Varma K ee1b6d3195
Use common strings in denonavr integration (#41746) 2020-10-17 13:34:51 +02:00
Gautham Varma K 622c56b6a7
Use common strings in emulated roku (#41745)
* Use common strings in emulated roku

Replace IP and port with references from common strings

* Update strings.json

*Replace References in mix with sentence with their values.
*Replace name_exists with already_configured

* Replace references in config_flow
2020-10-17 13:13:05 +02:00
Erik Montnemery 49b7f317ff
Fix Tasmota stale docstring + print level (#41992) 2020-10-17 13:07:21 +02:00
Anders Melchiorsen 30b454ddb7
Fix Sonos shuffle/repeat state with Spotify Connect (#41939) 2020-10-17 09:40:43 +02:00
J. Nick Koston 5580b21260
Decouple RestData from rest.sensor (#41980) 2020-10-17 04:56:45 +02:00
Philip Allgaier dde6305549
Cleanup unused loggers (components N-Z + tests) (#41982) 2020-10-16 21:24:08 -05:00
J. Nick Koston ad6ce5fa83
Convert rest sensors to async using httpx (#41973) 2020-10-16 19:21:13 -05:00
HomeAssistant Azure 39adf14079 [ci skip] Translation update 2020-10-17 00:06:00 +00:00
Abílio Costa 28fb761b01
Use skip_configuration flag to skip requests in ZHA (#41554)
* Remove duplicated attribute request from ZHA

The on_off attribute is on the REPORT_CONFIG, so
super().async_initialize already requests it from the device.
No need to request it twice.

* Use skip_configuration flag to skip requests in ZHA

* Fix loading from cache

* Fix loading from cache condition
2020-10-16 20:03:35 -04:00
Alexei Chetroi c29f613b1d
Fix schema for set_zigbee_cluster_attribute service (#41850) 2020-10-16 20:02:14 -04:00
Ronaldo Lima 87deb2344c
Use common strings in Azure DevOps config flow (#41974) 2020-10-17 01:27:44 +02:00
Aaron Bach 74a1b75919
Deprecate YAML config for RainMachine (0.119 removal) (#41971) 2020-10-16 16:35:13 -05:00
Jaroslav Hanslík 3e82cc1b4f
Add arming state to template alarm control panel (#41964) 2020-10-16 23:01:06 +02:00
Jaroslav Hanslík b7f818e431
Fix typo in comment in demo integration (#41955) 2020-10-16 22:53:16 +02:00
João Gabriel 554246f061
Add device_class to Panasonic Viera media player entity (#41966) 2020-10-16 22:13:27 +02:00
Quentame 7469bd9266
Wait Synology NAS boot before configuring (#41829) 2020-10-16 14:39:20 -05:00
Jason Hunter d5bf27427c
Fix media source for Xbox integration (#41959)
* fix media content type

* fix comments
2020-10-16 15:02:24 -04:00
Brett ca9ac48938
Add Binary Sensor Platform to Advantage Air (#41871)
* Binary Sensor Platform

* Parent Binary Sensor Class

* Fix DOMAIN namespace

* Use parent class
2020-10-16 12:12:24 -05:00
Aaron Bach bbef87d3f3
Clean up SimpliSafe device info and sensor creation (#41920)
* Clean up SimpliSafe device info and sensor creation

* Code review
2020-10-16 12:01:16 -05:00
Robert Svensson 1c3ec69166
Remove deprecated UniFi yaml configuration support (#41954) 2020-10-16 11:55:44 -05:00
Robert Svensson 028689d6bd
Remove update on add signalling in Axis integration (#41956)
Minor clean up of the integration
2020-10-16 11:54:48 -05:00
ioull cb60905415
Add Bancs de Brouillard in fog condition (#41947)
* Add Bancs de Brouillard in fog condition

* Add Bancs de Brouillard in fog condition
2020-10-16 18:30:17 +02:00
uvjustin ce0e08838f
Fix timestamp overflow error in stream (#41951) 2020-10-16 11:48:45 -04:00
Aaron Bach eff0c4a494
Properly unload SimpliSafe websocket listener (#41952) 2020-10-16 17:44:53 +02:00
Robert Svensson 8c0b39eb9c
No update before adding entity in deCONZ (#41948) 2020-10-16 17:14:26 +02:00
Rob Bierbooms 92f89213a3
Fix InfluxDB v2 API with write precision None (#41937) 2020-10-16 16:44:50 +02:00
J. Nick Koston 1e256e6122
Remove unneeded async_add_job from homematic (#41855) 2020-10-16 09:24:12 -05:00
Robert Svensson 85ccff28cd
Revert partial changes to deCONZ integration from earlier PR (#41943) 2020-10-16 14:38:12 +02:00
Marc Kolly 8bcae65dd8
Add missing Extended GTFS Route Types (#40297) 2020-10-16 13:51:05 +02:00
scheric db802ff2b4
Use common strings in Mill config flow (#41836) 2020-10-16 13:44:41 +02:00
Chris Talkington 243a4e5df6
Remove deprecated YAML config from sonarr (#41904) 2020-10-16 13:43:35 +02:00
Paulus Schoutsen 11d2e0c671
Bump cloud to 0.37.1 (#41930) 2020-10-16 13:40:04 +02:00
J. Nick Koston 965bb2c8df
Update nest to use async_add_executor_job (#41926) 2020-10-16 13:31:16 +02:00
J. Nick Koston 9c719beded
Update telegram_bot to use async_add_executor_job (#41924) 2020-10-16 13:29:28 +02:00
scheric 0f2dfeb33f
Use common strings in ovo energy config flow (#41940) 2020-10-16 13:17:41 +02:00
J. Nick Koston 83af805522
Update google_translate to use async_add_executor_job (#41925) 2020-10-16 13:15:01 +02:00
Captone Habiyaremye 5e96d21414
Add device actions to water_heater (#41417)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-16 12:51:12 +02:00
J. Nick Koston 9f5e3bfbd5
Update homekit camera resolutions for tvOS 14 (#41914) 2020-10-16 05:42:38 -05:00
Maciej Bieniek 798f7d1c63
Fix zeroconf name (#41908) 2020-10-16 05:38:39 -05:00
Ville Skyttä 92488849ea
Add deCONZ IKEA TRÅDFRI wireless dimmer fast rotate events (#41573)
Ref https://fccid.io/FHO-ICTC-G-1/User-Manual/User-Manual-3155271.pdf
2020-10-16 12:12:59 +02:00
Balazs Keresztury 544b7c67e5
Removed unneccessary dependency on adafruit-blinka (#41768) 2020-10-16 12:12:32 +02:00
Koen Beckers 465c21e075
Add game_icon to steam_online (#39947)
May just need to rename the sensor to steam info?
2020-10-16 11:59:27 +02:00
Robert Svensson 9abe18b579
Remove setup platform functions from UniFi since they are no longer needed (#41935) 2020-10-16 11:48:56 +02:00
Thomas Barnekov 8be3f2f2a5
Add automatic keep-alive for IKEA Trådfri (#41778)
* Added automatic keep-alive for IKEA Trådfri

* Don't shut down factory on keep-alive error

* Avoid keep-alive after shutdown

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-16 11:21:36 +02:00
Tom Schneider d16c04a8e0
Fix hvv_departures request time (#40195) 2020-10-16 10:07:24 +02:00
Paulus Schoutsen 62343f87ad
Catch when old entity can't be serialized in Google Report State (#41916)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-16 09:56:48 +02:00
Erik Montnemery 9e9f841f35
Add Tasmota device trigger (#41590)
* Add Tasmota device trigger

* Correct import

* Remove useless try-except

* Remove commented out code

* Align with hatasmota 0.0.14

* Update according to review comments
2020-10-16 08:16:07 +02:00
Brett 731d617c5e
Code Quality improvements for Advantage Air integration (#41861)
* Readability improvements

* Code quality and more tests

* Created a parent entity

* Apply parent entity to cover platform

* Update _zone property

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

* Remove device_state_attributes

* Correct attribute tests

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-15 23:30:29 -05:00
Aaron Bach 1e0663e986
Bump pyairvisual to 5.0.3 (#41921) 2020-10-15 23:16:03 -05:00
Aaron Bach 76f88459dd
Fix incorrect SimpliSafe websocket disconnect listener (#41923) 2020-10-15 23:13:45 -05:00
HomeAssistant Azure 11b812b82e [ci skip] Translation update 2020-10-16 00:04:33 +00:00
Chris Talkington cbdd712b3d
Remove sonarr reauth persistent notification (#41911) 2020-10-16 01:19:22 +02:00
Jason Hunter c10fe4f723
Add sensors to Xbox integration (#41868)
* favorited friends binary sensors

* add binary_sensor to .coveragerc

* fix copy/paste comments...

* make sensor entities instead of attributes

* address PR review comments

* default state to None
2020-10-15 19:11:05 -04:00