Commit Graph

22420 Commits (6b21df90537e45a5339f2234933bfa54f2124f12)

Author SHA1 Message Date
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
Glenn Waters 801168f9d7
Add ElkM1 time and counter services and keypress event (#41867) 2020-10-15 17:05:07 -05:00
Aaron Bach a0bb8ae5d9
Fix unhandled exception with SimpliSafe socket disconnection (#41917) 2020-10-15 17:00:57 -05:00
Martin Hjelmare da6bdd4464
Add supervisor set add-on options helper (#41651) 2020-10-15 23:38:53 +02:00
Aaron Bach 162a5d99a2
Add common string for reauth title (#41865) 2020-10-15 16:35:00 -05:00
Ville Skyttä a9f342ef74
Convert UpCloud to config flow, improve error handling (#37941) 2020-10-15 23:26:01 +02:00
Bas Nijholt d790de1346
Minor code improvement for KEF (#41885) 2020-10-15 16:20:23 -05:00
J. Nick Koston a220e74154
Update zhong_hong to use async_add_executor_job (#41846) 2020-10-15 15:39:48 -05:00
uvjustin 9270585a44
Cap AVC profile level at 4.1 in stream master playlist (#41592)
* Cap AVC profile level at 4.1

* Use smaller multiplier in bandwidth calculation
2020-10-15 16:37:27 -04:00
Aaron Bach 6114006b8b
Deprecate YAML config for SimpliSafe (0.119 removal) (#41896)
* Deprecate YAML config for SimpliSafe (0.119 removal)

* Remove import step from config flow
2020-10-15 14:28:09 -06:00
Jason Hunter 32675e0e38
Bump ONVIF and pin Zeep (#41907) 2020-10-15 22:24:33 +02:00
Erik Montnemery 766a0032c9
Bump hatasmota to 0.0.16 (#41902) 2020-10-15 21:14:42 +02:00
Aaron Bach 2079e41b7a
Properly disconnect from SimpliSafe websocket on HASS shutdown (#41894)
* Properly disconnect from SimpliSafe websocket on HASS shutdown

* Update homeassistant/components/simplisafe/__init__.py

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

* Update homeassistant/components/simplisafe/__init__.py

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

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-10-15 13:05:00 -06:00
epenet ba789105ee
Add PRESSURE_CBAR to onewire constants (#41826) 2020-10-15 19:57:15 +02:00
J. Nick Koston 3ffa050905
Support HomeKit accessory mode (#41679)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-15 11:59:50 -05:00
Aaron Bach db7c16162d
Remove duplicated options handling in SimpliSafe (#41806)
* Remove duplicated options handling in SimpliSafe

* Incorrect property name
2020-10-15 10:36:04 -06:00
Tom 368bc0c34b
Fix Plugwise hvac action and mode (#41550) 2020-10-15 16:59:02 +02:00
J. Nick Koston 41872341f5
Update mysensors to use async_add_executor_job (#41849) 2020-10-15 09:22:50 -05:00
J. Nick Koston 3ee4f43b20
Update kira to use async_add_executor_job (#41847) 2020-10-15 09:22:37 -05:00
J. Nick Koston 2e05592039
Update remaining i2c sensors to use async_add_executor_job (#41860) 2020-10-15 09:22:17 -05:00
On Freund 086378c48f
Add media browser capability to volumio (#40785) 2020-10-15 15:49:36 +02:00
J. Nick Koston c5ae801bcb
Allow HomeKit to be configured in include mode from the UI (#41662) 2020-10-15 15:33:01 +02:00
Gabe Cook ffb4a9112b
Ruckus Unleashed Requested Changes (#41824) 2020-10-15 12:49:43 +02:00
Brett a2574a4ed5
Add Cover Platform to Advantage Air (#41757)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-15 12:45:05 +02:00
Joakim Sørensen 1f07a4eba0
Forward client headers for proxied stream responses (#41663) 2020-10-15 11:01:37 +02:00
Aaron Bach 690024b34a
Fix SimpliSafe re-auth flow (#41805)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-15 10:15:32 +02:00
Paulus Schoutsen 5f3fc6a9e3
Cleanup the min-max sensor (#41851)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-15 09:54:04 +02:00
Aaron Bach 099de37ee5
Fix re-authentication in AirVisual (#41801) 2020-10-15 09:30:39 +02:00
cgtobi 0a4298322c
Reduce polling for Netatmo weather station sensors (#41858) 2020-10-15 09:25:59 +02:00
cgtobi 9dcc769a4a
Remove max and min temperature sensors (#41859) 2020-10-15 09:24:20 +02:00
Robert Svensson 6ccdf62e6b
Add basic device information for UniFi clients device registry entries (#41839) 2020-10-15 08:10:59 +02:00
Brig Lamoreaux 58a432685c
Use common srings in xiaomi-miio (#41864) 2020-10-15 08:09:20 +02:00
Daniel Hjelseth Høyer 4146a90313
Tibber, change time for fetching prices (#41840) 2020-10-15 08:08:57 +02:00
HomeAssistant Azure 994ae09f69 [ci skip] Translation update 2020-10-15 00:03:50 +00:00
Robert Svensson cb6d3b590e
Revert device trigger modelid for Trådfri remotes for deCONZ (#41843) 2020-10-14 23:39:00 +02:00
Mark Bergsma 5fd2acdbef
Add influxdb config option 'measurement_attr' (#36020) 2020-10-14 22:49:57 +02:00
J. Nick Koston e0df91ef9f
Update mqtt to use HassJob (#41796)
Avoids the overhead of checking the callable type at run time
2020-10-14 22:04:48 +02:00
jjlawren 4e8012fcea
Remove unnecessary check in Plex client scanning (#41844) 2020-10-14 22:01:06 +02:00
scheric f5248b5562
Use common strings in withings config flow (#41770) 2020-10-14 21:54:23 +02:00
Ville Skyttä 4cc6eee1ac
Mark Huawei LTE sensors with None value as unavailable (#41667) 2020-10-14 22:11:48 +03:00
Ville Skyttä 50468c4c8c
Add Huawei LTE battery sensor (#41668) 2020-10-14 22:11:18 +03:00
scheric 6d1242ffe7
Use common strings in ovo_energy config flow (#41838) 2020-10-14 21:10:59 +02:00
scheric 78c0871ae5
Use common strings in Tibber config flow (#41837) 2020-10-14 21:10:37 +02:00
Simone Chemelli 70eebc7211
Shelly: fix for RGB devices (#41841) 2020-10-14 21:09:03 +02:00
Jason Hunter 2b1fc90de7
Add Media Source to Xbox Integration (#41833)
* initial implementation of xbox media source

* minor fixes

* fix lint

* add media class map to remove multi-line ternary
2020-10-14 15:02:08 -04:00
J. Nick Koston 9d9520b2f9
Switch sabnzbd to use async_add_executor_job (#41835) 2020-10-14 20:27:34 +02:00
Robert Svensson 68cfc36b6b
Don't override proper data for UniFi Controller entry in device registry (#41834) 2020-10-14 17:52:45 +02:00
Erik Montnemery 042ce1cb92
Add Tasmota light (#41485) 2020-10-14 17:47:13 +02:00
jjlawren c63c253b7f
Discover Plex clients using GDM (#39053) 2020-10-14 15:46:52 +02:00
João Gabriel 72759d7501
Re-add forced update in Panasonic Viera (#41804) 2020-10-14 15:33:47 +02:00
djtimca 49d58bb6a8
Bump omnilogic to 0.4.2 (#41821) 2020-10-14 15:21:29 +02:00
Clifford Roche 839b9f226e
Add gree climate integration (#37498)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-14 15:15:56 +02:00
epenet 3cba25a892
Add test coverage for onewire (#40786)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-14 10:19:12 +02:00
J. Nick Koston 6d05729e48
Update image_processing to use async_add_executor_job (#41810) 2020-10-14 08:19:39 +02:00
J. Nick Koston 6c0d5fa1d6
Switch legacy async_add_job to async_add_executor_job in wemo (#41807)
These calls were already using async_add_executor_job in some of the
other platforms
2020-10-14 08:19:09 +02:00
J. Nick Koston cdd17b4215
Update caldav to use async_add_executor_job (#41808)
self.calendar.date_search was already being run in the executor in
other places so this should be safe
2020-10-14 08:18:23 +02:00
Jason Hunter 3013f39191
Add Remote entity to Xbox Integration (#41809) 2020-10-13 21:00:44 -04:00
HomeAssistant Azure ba55cb8955 [ci skip] Translation update 2020-10-14 00:04:41 +00:00
J. Nick Koston 6c3e450117
Update shopping_list to use async_add_executor_job (#41795) 2020-10-13 17:22:17 -05:00
J. Nick Koston ff2872e376
Remove unneeded context switch in dyson (#41793)
dyson was running the add_message_listener code in the
executor even though all it did was append to an array

https://github.com/etheralm/libpurecool/blob/master/libpurecool/dyson_device.py#L213
2020-10-13 15:45:00 -05:00
J. Nick Koston 5c540dcfcf
Update cast to use async_add_executor_job (#41794) 2020-10-13 15:39:43 -05:00
J. Nick Koston af74e36d16
Update html5 to use async_add_executor_job (#41788) 2020-10-13 22:26:14 +02:00
Robert Svensson dc71b7421c
Improve deCONZ climate platform handling unsupported commands (#41780)
* Improve deCONZ climate platform

* Raise valueerror if missing input

* Fix linting
2020-10-13 22:11:09 +02:00
Aaron Bach 3a59f7c2b7
Address cleanup commentary for Guardian Paired Sensors (#41785) 2020-10-13 22:01:10 +02:00
J. Nick Koston e791946f00
Update generic camera to use async_add_executor_job (#41787) 2020-10-13 21:59:39 +02:00
J. Nick Koston b58ef6ae92
Convert remaining async_add_job to async_add_executor_job in media_player (#41790) 2020-10-13 21:57:36 +02:00
J. Nick Koston aefd4908df
Update mjpeg camera to use async_add_executor_job (#41791) 2020-10-13 21:56:57 +02:00
djtimca 5069fc4024
Fix issues with metric conversion and single pump type for filter pumps in Omnilogic integration (#41777) 2020-10-13 21:32:32 +02:00
J. Nick Koston ef9cd485fd
Update to zeroconf 0.28.6 to accomodate devices that are not strictly name compliant (#41784) 2020-10-13 14:02:52 -05:00
Bas Nijholt 8db88192a8
Fix KEF LSX becoming unavailable (#41700)
* Do not use asyncio.gather because the speaker only allows one concurrent connection

* bump to aiokef=0.2.16
2020-10-13 20:13:48 +02:00
Guido Schmitz db4b4745dc
Update devolo-home-control-api to 0.15.1 (#41783) 2020-10-13 20:09:54 +02:00
Daniel Hjelseth Høyer 3a119dd669
Update pyTibber to 0.15.7 (#41722) 2020-10-13 19:58:39 +02:00
Robert Svensson 267d97e80e
Improve deCONZ fan platform handling unsupported commands (#41779)
* Improve handling unsupported commands

* Raise valueerror on unsupported speed

* Fix linting
2020-10-13 19:34:33 +02:00
Erik Montnemery 7f9db59209
Bump hatasmota to 0.0.15 (#41781) 2020-10-13 18:53:18 +02:00
Jason Hunter c3ccea52a5
Add Browse Media to Xbox (#41776)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-13 17:51:51 +02:00
Franck Nijhof 5dbb5f12eb
Upgrade sqlalchemy to 1.3.20 (#41765) 2020-10-13 08:43:58 -05:00
Jason Hunter 9877e8e25b
Add Xbox Integration (#41697)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-13 15:37:01 +02:00
J. Nick Koston 33b548e247
Reduce ORM overhead when the old state was already written to the database (#41736)
We can avoid processing the relationship when the old state was already
written to the database which will common case with a commit interval
of 1s. Since we already know the value for old_state_id we can use it
instead of asking sqlalchemy to process the relationship at flush/commit
time which can significantly speed up sqlalchemy's _emit_insert_statements
implementation.
2020-10-13 15:34:46 +02:00
Aidan Timson 52c93edb53
Add Palette to WLED Effect Service (#41724) 2020-10-13 14:12:01 +02:00
Rob Bierbooms c16f107f6b
Filter rfxtrx configure devices option flow on existing config entry (#40975)
* Prompt only configure devices when device is in config entry

* Fix copy
2020-10-13 13:51:42 +02:00
João Gabriel d1041efedf
Add device info to Panasonic Viera (#41028)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-13 13:14:59 +02:00
Robert Svensson 72289b8171
Add fan support to deCONZ (#40806)
* Add fan support to deconz

* Fix gateway test

* Fix lint issue

* Apply suggestions from code review

* Fix black

* Improve tests

* Store previously used speed in case turn_on service is called without a speed attribute

* Fix tests

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-13 12:57:42 +02:00
Sören Oldag 113a680c43
Bump pwmled to 1.5.3 (#41681) 2020-10-13 12:53:29 +02:00
Joakim Plate 11bbc14530
Pass context to on/off scripts (#40254) 2020-10-13 12:13:47 +02:00
Diogo Gomes c4148eb2c5
Add notify platform to TTS (#40028) 2020-10-13 11:52:51 +02:00
Tom Schneider 1d682bdc78
Bump pygti to 0.9.2 (#41571) 2020-10-13 10:31:42 +02:00
Fredrik Erlandsson 8bdc824b6c
Update pypoint to use async http requests (#41546)
* Remove domain after entities

* Add support for async http-requests

* Fix, handle network issues (update _is_available status)

* Fix missing await for alarm_arm

* Fix alarm status

* Update tests to async

* Bump pypoint version

* Fix doc string

* Apply suggestions from code review, remove pylint disable

* Fix black
2020-10-13 08:48:26 +02:00
Sören 32204821c1
Bump pynello to 2.0.3 (#41737)
* Bump pynello to 2.0.3

* Bump pynello to 2.0.3
2020-10-13 08:42:33 +02:00
Aaron Bach bb98f7ed1b
Add support for Elexa Guardian paired sensors (#37930)
* Add support for Guardian paired sensors

* More work

* OOP

* More OOP

* Binary sensors looking good

* Entities all in place

* Looking good

* Linting

* Code review

* Code review

* Flake

* Fix removal

* Code review

* Linting

* Don't use potentially confusing method name

* Use CoordinatorEntity

* Linting

* Pylint

* Code review

* Code review
2020-10-12 21:41:57 -06:00
Glenn Waters f7d3f3a1ed
Add elkm1 bypass and trigger services (#41584) 2020-10-12 21:41:19 -05:00
scheric 7e6432dad6
Use common strings in Griddy config flow (#41716) 2020-10-12 21:13:04 -05:00
Guido Schmitz bb2d3bf50d
Fix climate platform in devolo Home Control (#40746)
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-12 19:21:59 -05:00
Ville Skyttä f28c3273c2
Upgrade mypy to 0.790 (#41595) 2020-10-12 19:17:30 -05:00
HomeAssistant Azure 1417a4161f [ci skip] Translation update 2020-10-13 00:03:24 +00:00
Anders Melchiorsen b5308bda09
Add Sonos support for media_player.repeat_set service (#41735)
* Add Sonos support for media_player.repeat_set service

* Update homeassistant/components/sonos/media_player.py

* Remove else for pylint

Co-authored-by: cgtobi <cgtobi@users.noreply.github.com>
2020-10-13 00:30:38 +02:00
Anders Melchiorsen d00655810f
Add media_player.repeat_set service (#41435) 2020-10-12 23:29:28 +02:00
scheric a6393fb36c
Use common strings in Avri config flow (#41717) 2020-10-12 19:42:07 +02:00
Christian Bilevits 54bb82a3c2
Add common strings in plaato config flow (#41622) 2020-10-12 19:39:09 +02:00
Niccolo Zapponi 8a45bc2d13
Add support for SimpliSafe sensors (#41080)
* Add support for SimpliSafe sensors

* Turn sensor refresh rate to a configurable setting

* Set minimum to scan interval

* Removed dynamic sensor refresh rate

* Refactoring

* Refactoring

* Move battery entities to binary_sensor platform

* Bug fix

* Clean up

* Simplified device info override

* Ignore sensor cache
2020-10-12 11:31:55 -06:00
Erik Montnemery f70aa0b5cc
Merge Tasmota sensor device class and icon maps (#41706) 2020-10-12 19:26:35 +02:00
Paulus Schoutsen 57996e1942
Improve mobile app template handling (#41703)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-10-12 17:26:54 +02:00
Philip Allgaier 625bbe6238
Cleanup unused loggers (components A-M) (#41600) 2020-10-12 16:59:05 +02:00
Quentame 6cff58f37d
Fix disabled Synology DSM camera (#41686) 2020-10-12 16:47:05 +02:00
J. Nick Koston b897ca7260
Ensure all template errors are caught and the websocket api reports them (#41719) 2020-10-12 16:38:24 +02:00
puddly f7e7f1371e
Update zigpy-znp to 0.2.2 (#41670) 2020-10-12 09:44:40 -04:00
Vladimír Záhradník 111afbb66f
Refactor Modbus switch to provide a base for other entities (#33551)
* Add Modbus light and fan entities

* Rework Fan and Light components to new config structure

* Fix Linter issue

* Rework Modbus switch initialization

* Properly update state on actuator methods

* Remove Fan and Light entity from this change. They will be merged separately

* Fix loading of the Switch platform

* Modbus switch - inherit from the SwitchEntity
2020-10-12 14:34:44 +02:00
fnurgel bf57035880
Use separate line for return statement in hue_activate_scene (#41709) 2020-10-12 13:40:26 +02:00
Brett 3e41c682f4
Add Advantage Air Integration (#40159)
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-12 13:22:15 +02:00
Erik Montnemery cd21786536
Bump hatasmota to 0.0.13 (#41705)
* Bump hatasmota to 0.0.13

* Fix tests
2020-10-12 13:09:17 +02:00
Dan Ports c8ac787c9f
Bump greeneye_monitor to 2.1 (#41692)
This fixes reporting of temperature sensors with negative values.
2020-10-12 08:14:09 +02:00
Erik Montnemery 84cb00bb4e
Add Tasmota sensor (#41483)
* Add Tasmota sensor

* Remove useless try-except

* Bump hatasmota to 0.0.11

* Apply suggestions from code review

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

* Sort dict constants

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-12 07:27:06 +02:00
Philip Allgaier 59edb25e4e
Clean up speedtest (#41139)
* Remove unused error string + add server list log msg

* Use more common reference texts

* Revert translation files + correct typos
2020-10-12 06:03:45 +02:00
HomeAssistant Azure f787289ea0 [ci skip] Translation update 2020-10-12 00:03:31 +00:00
Matthias Alphart 93a9a11065
Add config validator helper positive_float (#41640) 2020-10-11 22:04:49 +02:00
Angelo Gagliano 874e1f6103
Prevent tplink missing devices and unavailable state (#39762)
* Adds self to codeowners for tplink

* Adds retry to update to prevent missing devices

* Runs through isort and corrects async commit

* Runs through black

* Runs through pre-checks

* Corrects and matches var names

* Re-runs through black

* Corrects var name

* Removes the retry loop and in favor of async add

* Cleanup imports

* Removes no longer valid test

* Removes is_ready and only log retry once

* Corrects switch logging vars

* Adds list of entities to add_entities

* Consumes exception for attempt_update

* Consumes specific exception

* Removes unnecessary update

* Reducing back to 2 seconds

* Removes useless return

* Call get_sysinfo for all at once

* Formated black

* Adds missing docstirng

* Corrects docstring

* Update homeassistant/components/tplink/light.py

Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>

* Corrects sysinfo call

* Adds default for host vars

* Adds log when device responds again

* Revert host alias default

* Removes unncessary host var

* Removes host var

* Get device details from sysinfo

* Use host and alias for log msg

* Gets hosts from smartbulb

* Changes retry logging to debug

* Attempts coverage add

* Removes unused import

* Updates tests for new retry

* Runs through isort

* Removes unneeded try

* Prevents static entries from failing integration

* Format black

* Forces an update after turn on off

* Remove common test

* Revert update after turn_on off

* Adds patch for sleep_time 0

* Returns False when update fails

Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
2020-10-11 21:10:36 +02:00
fnurgel 366006e0aa
Multiple Hue activate scene (#41353) 2020-10-11 21:01:49 +02:00
uvjustin 1c6d0d138d
Adjust dts warning messages in stream (#41467)
* Adjust dts warning messages

* Wait for second packet with overflow dts condition

* Rename dts gap watch variable

* Remove out of order packet warning
2020-10-11 12:55:13 -04:00
uvjustin 6c18feb4ed
Allow only one packet with no dts in stream init (#41129)
* Allow only one packet with no dts in stream init

* Call finalize_stream() on exit
2020-10-11 12:52:51 -04:00
J. Nick Koston c7bbba9d48
Reduce icmplib ping timeout to match ping binary behavior (#41620) 2020-10-11 11:12:27 -05:00
ochlocracy 178b2d8c22
Update display categories in Alexa (#41626)
* Add new display categories from Alexa Smart Home API

* Update Vacuum entities to use VACUUM_CLEANER category.

* Update Automation entities to use ACTIVITY_TRIGGER category.

* Update tests for Automation entities to use ACTIVITY_TRIGGER category.
2020-10-11 11:09:05 -05:00
Maciej Bieniek 13f0ea506e
Bump brother to 0.1.18 (#41056) 2020-10-11 11:04:27 -05:00
Spartan-II-117 44a3278ba8
Use common strings for AirVisual (#41632) 2020-10-11 17:28:55 +02:00
scheric 9d6589240f
Use common strings in logi_circle config flow (#41427)
* already_setup->already_configured

* auth_error->invalid_auth

* rm default

* auth_timeout->oauth2_authorize_url_timeout

* enable auto format black

* add oauth2_missing_configuration

* Use standard helper keys

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-11 10:11:45 -05:00
Christian Bilevits ae20b3a678
Use common strings in ps4 config flow (#41623) 2020-10-11 16:57:21 +02:00
Gautham Varma K ffd25fb2ce
Use common strings in homematicip_cloud config flow (#41658) 2020-10-11 16:53:03 +02:00
Philip Allgaier b6a93724bf
Use consistent "percent" naming in systemmonitor (#41411) 2020-10-11 15:52:32 +02:00
Christian Bilevits 1cb25cdaf7
Use common strings in panasonic config flow (#41641)
* Add missing common strings

* Add common string
2020-10-11 15:47:49 +02:00
Gautham Varma K 9d515e8c34
Use common strings in risco config flow (#41656) 2020-10-11 15:46:59 +02:00
scheric 1f4fe62380
Use common strings in twentemilieu config flow (#41647) 2020-10-11 14:54:08 +02:00
Christian Bilevits 1c4512bc40
Use common strings in Nest config flow (#41597) 2020-10-11 14:47:30 +02:00
Christian Bilevits ef448f1549
Use common strings in profiler config flow (#41642) 2020-10-11 14:33:34 +02:00
scheric f382754830
Use common strings in iOS config flow (#41644) 2020-10-11 14:32:06 +02:00
scheric 9c9b9e8227
Use common strings in Météo-France (#41610)
* insert feadback

* more feadback
2020-10-11 09:58:54 +02:00
Brian Rogers 899431235b
Bump rachiopy to 1.0.3 and update methods to handle changes (#41398) 2020-10-10 19:44:49 -05:00
HomeAssistant Azure 80522f1bdc [ci skip] Translation update 2020-10-11 00:03:37 +00:00
Christian Bilevits fdc965c6b9
Add missing common strings (#41621) 2020-10-11 00:42:32 +02:00
Steffen Rusitschka b5f4b58832
Add rx mode to homematic.put_paramset service (#40065) 2020-10-10 20:42:19 +02:00
Christian Bilevits 0838936ce7
Add common strings in broadlink config flow (#41602) 2020-10-10 19:12:15 +02:00
Paulus Schoutsen dc1b1706f1
Add device info to met (#41611) 2020-10-10 17:30:27 +02:00
Daniel Hjelseth Høyer 4ece928c0a
Remove icon for Tibber sensor (#41604) 2020-10-10 17:29:45 +02:00
J. Nick Koston 00b338002a
Update icmplib to 1.2.2 (#41608)
Fixes IPv6 lookups
2020-10-10 17:28:13 +02:00
J. Nick Koston da2f9db62e
Fix async functions accidentally marked as callbacks (#41607) 2020-10-10 16:54:36 +02:00
javicalle 73f52c829a
Remove illuminance sensor for Xiaomi EU gateway (#41580)
Xiaomi EU gateway don't support the `XiaomiGatewayIlluminanceSensor`.
2020-10-10 14:43:06 +02:00
Diederik van den Burger c31d9bfd3f
Update Withings integration (add sleeps data) (#41504) 2020-10-10 14:41:26 +02:00
scheric 7f8f53607e
add strings (#41599) 2020-10-10 14:38:00 +02:00
Daniel Hjelseth Høyer 9299f0a8b2
Add device_class to Tibber sensor (#41572) 2020-10-10 14:20:15 +02:00
Ville Skyttä 66aa55dddf
Fix deCONZ IKEA TRÅDFRI device name spelling (#41574) 2020-10-10 13:04:00 +02:00
Gabe Cook 4b617db669
Add Ruckus Unleashed integration (#40002)
* Add Ruckus Unleashed integration

* Tweak catches to better rely on CoordinatorEntity error handling, rename LoginError to AuthenticationError

* Make router_update be a callback function

* Make name property return hint match the newer value

* Add entity to tracked set when restoring on boot

* Add a device's MAC to the attributes
2020-10-10 13:01:53 +02:00
Raman Gupta 025bdd74a1
Allow users to update their iCloud password when auth fails (#39138)
* Allow users to update their iCloud password when auth fails after successful setup

* remove trailing comma

* use new reauth source instead of custom one so frontend can do the right thing

* add quentames text suggestion with a slight tweak

* fix test

* use common string for successful reauth and remove creation and dismissal of persistent notification

* Update homeassistant/components/icloud/account.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-10 02:02:28 -04:00
HomeAssistant Azure 6ae12c3faf [ci skip] Translation update 2020-10-10 00:05:05 +00:00
epenet 843c4e27f3
Update Onewire SysBus integration to use a 3rd party library (#40943) 2020-10-09 17:31:05 +02:00
Abílio Costa 078ecef4b2
Remove duplicated attribute request from ZHA (#41442)
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.
2020-10-09 09:23:52 -04:00
definitio 0a1d9abe79
Use common strings in esphome config flow (#41547) 2020-10-09 14:28:54 +02:00
Steffen Rusitschka a9adc2a6f0
Publish state changes to Zabbix (#36659) 2020-10-09 14:11:50 +02:00
Xiaonan Shen e6a65b8bd3
Bump yeelight to 0.5.4 (#41524) 2020-10-09 13:30:42 +02:00
cgtobi 96035eb052
Fix missing weather sensors (#41540) 2020-10-09 12:34:52 +02:00
Franck Nijhof 58ede21f39
Fix date parsing template int in history stats (#41476) 2020-10-09 11:50:52 +02:00
Maciej Bieniek 9d1aa70c62
Fix description reference in PoolSense config flow (#41535) 2020-10-09 11:16:16 +02:00
J. Nick Koston f268378f0f
Fix plant doing IO in the event loop. (#41527)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-09 09:57:46 +02:00
J. Nick Koston a8a2109cef
Convert last remaining async_add_job in light to async_add_executor_job (#41518) 2020-10-09 09:32:55 +02:00
J. Nick Koston 1c431aa7bd
Set created field when creating db events and states (#41523)
Avoids thousands of utcnow calls when the session
is commited on busy systems to fill in the field
default.
2020-10-09 09:31:17 +02:00
J. Nick Koston 617509413c
Update wake_on_lan to use async_add_executor_job (#41528) 2020-10-09 09:29:16 +02:00
J. Nick Koston 3267823165
Update http to use async_add_executor_job (#41529) 2020-10-09 09:29:07 +02:00
J. Nick Koston 822ad0ae9c
Update arcam_fmj device trigger to use async_run_hass_job (#41530) 2020-10-09 09:28:55 +02:00
J. Nick Koston fef2700351
Update kodi device trigger to use async_run_hass_job (#41531) 2020-10-09 09:27:47 +02:00
J. Nick Koston e03b3e2310
Restore group support to plant entities (#41519) 2020-10-09 08:37:27 +02:00
HomeAssistant Azure 29aea5a66c [ci skip] Translation update 2020-10-09 00:04:33 +00:00
J. Nick Koston 480b8165d7
Update notify to use async_add_executor_job (#41516) 2020-10-08 23:58:33 +02:00
J. Nick Koston 5b8ecc26a4
Update device_tracker to use async_add_executor_job (#41515) 2020-10-08 23:56:32 +02:00
jan iversen 4d9ff13384
Fix bool registers in modbus integration (#41506)
When a register is of type bool modbus returns a whole byte, but ONLY the
lowest bit determine true/false.
2020-10-08 23:52:41 +02:00
djtimca 8e3258cdfb
Fix omnilogic temperature sensor with metric setting (#41509) 2020-10-08 23:48:54 +02:00
springstan 916178925e
Return attribute dict directly without temporary variable v3 (#41502) 2020-10-08 21:33:08 +02:00
Fredrik Erlandsson f42eca3fcf
Add common strings in daikin config flow (#41419) 2020-10-08 21:25:54 +02:00
Ville Skyttä cf83c6bf00
Complete Huawei LTE type hints, make mypy check them (#41503) 2020-10-08 21:02:47 +02:00
Joakim Sørensen 61a5bf5645
Add delete to hassio API (#41500) 2020-10-08 20:40:45 +02:00
willholdoway 1e9e0c8686
Add mute command to Bluesound integration (#41501)
Adding mute as a separate command as per the Bluesound API, rather than the current pseudo-mute which is achieved via lowering the volume to 0 then detecting whether the volume is 0 < volume < 0.001
2020-10-08 20:20:39 +02:00
Arjan van Balken 0856d91b0e
Update Arris TG2492LG dependency version (#41465) 2020-10-08 19:08:20 +02:00
scheric c2d0c90cd4
Use common strings in tellduslive config flow (#41408)
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-08 18:14:21 +02:00
scheric 5345e9fb5c
Use common strings in fritzbox config flow (#41407)
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-08 18:12:04 +02:00
Keilin Bickar d8aebe145b
Add active voltage sensors to Sense integration (#41112) 2020-10-08 18:08:37 +02:00
J. Nick Koston 2aee72981c
Add missing on states to media player groups (#41496) 2020-10-08 17:58:52 +02:00
Markus Bong ac256815f9
Optimize devolo light devices (#41053) 2020-10-08 16:55:23 +02:00
Guido Schmitz a81f4cf387
Fix async_unload_entry for devolo Home Control (#41488) 2020-10-08 16:48:05 +02:00
Bram Kragten 29a613e91f
Update frontend to 20201001.2 (#41491) 2020-10-08 16:00:34 +02:00
scheric a71049112e
Use common strings in Atag config flow (#41351) 2020-10-08 15:27:28 +02:00
jrester 734972f876
Update tesla_powerwall to 0.3.3 (#41482) 2020-10-08 08:26:44 -05:00
cgtobi 07d208f1bc
Bump pyatmo version to 4.1.0 (#41487) 2020-10-08 15:08:15 +02:00
Paulus Schoutsen 3036c17769
Downgrade Paho MQTT to 1.5.0 (#41479) 2020-10-08 12:31:46 +02:00
Erik Montnemery 35287828bc
Poll state when Tasmota device becomes available (#41401) 2020-10-08 11:17:23 +02:00
J. Nick Koston b51a160cce
Update triggers to use HassJob (#41450)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-10-08 09:44:34 +02:00
J. Nick Koston 7537a3a7c8
Update filter to use async_add_executor_job (#41455) 2020-10-08 09:22:51 +02:00
J. Nick Koston 740d15e41d
Update media_player to use async_add_executor_job (#41459) 2020-10-08 09:22:37 +02:00
J. Nick Koston dfc656a2c6
Update lock to use async_add_executor_job (#41458) 2020-10-08 09:22:16 +02:00
J. Nick Koston aa250c2b61
Update cover to use async_add_executor_job (#41456) 2020-10-08 09:21:47 +02:00
J. Nick Koston 1bf6166817
Update fan to use async_add_executor_job (#41457) 2020-10-08 09:21:29 +02:00
J. Nick Koston e10413fa4c
Update trend to use async_add_executor_job (#41454) 2020-10-08 09:20:58 +02:00
J. Nick Koston ad5273ded1
Update config to use async_add_executor_job (#41452) 2020-10-08 09:20:39 +02:00
J. Nick Koston 8a374590e8
Update discovery to use async_add_executor_job (#41453) 2020-10-08 09:20:07 +02:00
J. Nick Koston 52e8366ce7
Update roomba to use async_add_executor_job (#41448) 2020-10-08 09:15:47 +02:00
J. Nick Koston 4ab02cb9bc
Ensure recorder commit can retry after encountering invalid data (#41426) 2020-10-08 09:15:25 +02:00
On Freund b5e57ed4fd
Support matching multiple user ids in event trigger (#41036) 2020-10-08 09:10:42 +02:00