Commit Graph

20361 Commits (167b10ccc16a1c56b4bdc9ca8221e9a7e4625d10)

Author SHA1 Message Date
Josef Schlehofer 00e50d18b9
Upgrade youtube_dl to version 2020.07.28 (#38328) 2020-07-29 09:12:48 -04:00
starkillerOG b7976d2856
Add myself to xiaomi miio codeowners (#38350)
* add myself to xiaomi miio codeowners

* Update CODEOWNERS

* Update manifest.json
2020-07-29 11:21:47 +02:00
HomeAssistant Azure ff3d76b464 [ci skip] Translation update 2020-07-29 00:02:39 +00:00
Xiaonan Shen d2022aa07b
Fix songpal already configured check in config flow (#37813)
* Fix already configured check

* Mark endpoint duplicate check as callback
2020-07-29 01:49:43 +02:00
Franck Nijhof 2c6686c5e1
Remove AdGuard version check (#38326) 2020-07-28 17:51:35 +02:00
J. Nick Koston e8c9734f3a
Bump tesla-powerwall to 0.2.12 to handle powerwall firmware 1.48+ (#38180) 2020-07-28 17:26:06 +02:00
Kyle Hendricks 0a7dc40712
Fix issue with certain Samsung TVs repeatedly showing auth dialog (#38308)
Through some testing with the samsungtvws library, it was determined
that the issue is related to the short read timeout (1s).  Increasing
the timeout to 10s should solve the issue.
2020-07-28 12:03:56 +02:00
Matthew Garrett 508fc3fa0e
Fix lg_soundbar callback (#38259)
* Don't schedule an update if the hass instance isn't instantiated

If we get a status update packet before self.hass exists, we trip a
"assert self.hass is not None" that was added in 0.112 and setup fails.

* Fix callback hander properly

The right fix is to register the callback after hass is ready for it.

* Remove unnecessary check

This is now guaranteed by the core code.

* Don't request an immediate device update and do an async connect.

* Remove unnecessary return
2020-07-28 09:55:24 +02:00
Chris Mandich ae8a38757a
Update PyFlume version, support for multiple state attributes (#38138)
* Update PyFlume version, support for multiple state attributes

* Update PyFlume to resolve issue https://github.com/ChrisMandich/PyFlume/issues/7

* Update PyFlume package to 0.5.2, flatten values in sensor

* Delete setup

* Remove 'current_interval' from attributes and round values to 1 decimal place.

* Add missing brackets to remove 'current_interval' from attributes

* Set attribute keys explicitly, check attribute format.

* Breakout intervals into separate sensors.

* Update 'unit_of_measurement' for each sensor, update sensor 'available', remove unusued variables

* Update "Device unique ID."

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

* Update PyFlume, resolve API query update for request.

* Cleanup debug logging

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-07-27 21:30:38 -10:00
J. Nick Koston 77b6f8c9f2
Prevent speedtest from blocking startup or causing other intergations to fail setup (#38305)
When speedtest starts up, it would saturate the network interface and cause other
integrations to randomly fail to setup. We now wait to do the first speed test
until after the started event is fired.
2020-07-27 22:57:36 -07:00
J. Nick Koston f06ae1fa95
Prevent kodi from blocking startup (#38257)
* Prevent kodi from blocking startup

* Update homeassistant/components/kodi/media_player.py

* isort

* ignore args

* adjustments per review

* asyncio
2020-07-28 07:43:42 +02:00
Chris 5fef9653a8
Fix ozw dimming duration (#38254)
* Dimming duration fix

Fixes #38068 - allows dimming duration to 7620 (default of 7621)

* Forgot to commit my test updates

* Added backwards compatibility with pre-150+ builds

Added tests for backwards compatibility

* Upped the build number cut off

* Add check for major.minor version as well

* Fix major.minor detection

* Adjust variable name

* Adjust version checking logic

* Math is hard

* Rename files, adjust test names

* Update doc string
2020-07-28 07:37:09 +02:00
Eugene Prystupa c29f412a70
Add debug logging for bond (#38304) 2020-07-27 21:53:56 -05:00
Teemu R 213496095f
Bump python-miio to 0.5.3 (#38300) 2020-07-27 21:26:29 -05:00
Marcio Granzotto Rodrigues 02e2c40c48
Bond - Make assumed state conditional (#38209) 2020-07-27 20:39:23 -05:00
HomeAssistant Azure e6e3517a94 [ci skip] Translation update 2020-07-28 00:04:53 +00:00
Joakim Plate 0bcee21333
Restore rfxtrx state to off when delay off is in effect (#38239) 2020-07-28 01:45:41 +02:00
Jeroen Van den Keybus a1e2bce1b9
Fix detection of zones 2 and 3 in Onkyo/Pioneer amplifiers (#38234) 2020-07-28 01:40:21 +02:00
Joakim Plate c93fc8af4a
Clean up commands generation for rfxtrx (#38236) 2020-07-28 00:44:30 +02:00
Joakim Plate c3966a5ef2
Setup rfxtrx event listener directly (#38298) 2020-07-28 00:29:35 +02:00
David Bonnes bea1570354
Delint recent change to evohome (#38294) 2020-07-27 23:17:07 +02:00
Marcio Granzotto Rodrigues 561e4b537a
Fix #38289 issue with xboxapi lib (#38293) 2020-07-27 14:56:39 -04:00
J. Nick Koston ddf7ceecd4
Prevent harmony from resetting state with multiple turn ons (#38183)
Automations or HomeKit may turn the device on multiple times
when the current activity is already active which will cause
harmony to lose state.  This behavior is unexpected as turning
the device on when its already on isn't expected to reset state.
2020-07-27 06:31:30 -10:00
Greg Dowling f38e1ae2c0
Don't set up callbacks until entity is created. (#38251) 2020-07-27 17:15:28 +02:00
David Bonnes 26bb604243
Remove evohome hvac_action as it is inaccurate (#38244) 2020-07-27 15:20:18 +02:00
James Callaghan 818949abd9
Corrected typo (#38278) 2020-07-27 15:19:10 +02:00
Markus Bong 569caf9e40
Change devolo Home Control entity naming (#38275)
* adding suffix after the entity name just in case the device class is not known

* remove if else
2020-07-27 10:17:45 +02:00
On Freund b226a7183f
Add config flow to Volumio (#38252) 2020-07-27 09:19:19 +02:00
J. Nick Koston 8b06d1d4bd
Prevent onvif from blocking startup (#38256) 2020-07-27 08:51:53 +02:00
MikeTsenatek da30ed06d8
Update holidays to 0.10.3 (#38246) 2020-07-27 08:17:40 +02:00
Mister Wil 8fec0da5be
Fix Skybell useragent (#38245) 2020-07-27 08:08:01 +02:00
J. Nick Koston 56186a3d75
Improve setup retry logic to handle inconsistent powerview hub availability (#38249) 2020-07-26 17:01:29 -10:00
Maciej Bieniek 2b0914994d
Add changes from comments after merging AccuWeather (#38227)
* Fix documentation url

* Return None instead STATE_UNKNOWN

* Invert forecast check

* Patch async_setup_entry in test_create entry

* Improve test name, docstring and add comment
2020-07-26 20:00:47 -05:00
HomeAssistant Azure 8abdc2c969 [ci skip] Translation update 2020-07-27 00:02:58 +00:00
Eugene Prystupa 4d73f107c4
Implement resilient startup for bond integration with ConfigEntryNotReady support (#38253) 2020-07-26 18:27:18 -05:00
David Bonnes 455ac1cadf
fix issue #34559 (#38241) 2020-07-26 21:13:10 +01:00
shred86 36cb818cd0
Add Abode camera on and off support (#35164)
* Add Abode camera controls

* Add tests for camera turn on and off service

* Bump abodepy version

* Bump abodepy version and updates to reflect changes

* Update manifest
2020-07-26 08:59:11 -10:00
Alan Tse 093bd863ba
Add update available binary sensor to Tesla (#37991)
* Add update available binary sensor to Tesla

* Bump teslajsonpy to 0.10.1

* Add check for DEVICE_CLASS

* Change to relative import
2020-07-26 08:00:07 -10:00
J. Nick Koston f6b0f8d6de
Update logbook to use async_add_executor_job (#38217) 2020-07-26 10:42:28 +02:00
HomeAssistant Azure d1464211a6 [ci skip] Translation update 2020-07-26 00:04:14 +00:00
Aidan Timson dcba45e67d
Add Azure DevOps Integration (#33765)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-07-26 00:04:10 +02:00
Joakim Plate fd11748a1a
Make rfxtrx RfyDevices have sun automation switches (#38210)
* RfyDevices have sun automation

* We must accept sun automation commands for switch

* Add test for Rfy sun automation
2020-07-25 22:56:58 +02:00
Emil Stjerneman 85c856cfa3
Volvo on call updates (#38142)
* Add "doors_tailgate_open" and "average_speed" to resource list

* Bump volvooncall from 0.8.7 to 0.8.12

* Bump volvooncall in requirements_all.txt
2020-07-25 14:48:19 -05:00
Robert Van Gorkom da380d89c2
Removing gogogate2 emulated cover transitional states. (#38199) 2020-07-25 21:43:45 +02:00
Joakim Plate 1776540757
Rfxtrx fixup config entry creation (#38185)
* Make sure import flow completely replace existing config

* Make sure added device contain correct config data

* Revert change to directly run init
2020-07-25 19:13:10 +02:00
J. Nick Koston 3206f4dc83
Support multiple camera streams in HomeKit (#37968)
* Support multiple camera stream in HomeKit

* Update homeassistant/components/homekit/type_cameras.py

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

* Revert "Update homeassistant/components/homekit/type_cameras.py"

This reverts commit d7624c5bff.

* Update homeassistant/components/homekit/type_cameras.py

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

* Update homeassistant/components/homekit/type_cameras.py

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

* black

* bump pyhap

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-25 07:12:14 -10:00
Phil Bruckner bbc8748e3b
Stop automation runs when turned off or reloaded (#38174)
* Add automation turn off / reload test

* Stop automation runs when turned off or reloaded
2020-07-25 12:19:55 +02:00
Daniel Hjelseth Høyer 662d79eb86
Prevent unnecessary updates of met component (#38168) 2020-07-25 11:18:30 +02:00
J. Nick Koston a07f4e0986
Ignore harmony hubs ips that are already configured during ssdp discovery (#38181)
We would connect to the hub via discovery and via setup
around the same time.  This put additional load on the hub
which can increase the risk of timeouts.
2020-07-25 11:13:47 +02:00
J. Nick Koston 973688d87e
Bump netdisco to 2.8.1 (#38173)
* Bump netdisco to 2.8.1

* bump ssdp
2020-07-24 21:00:08 -10:00