Commit Graph

6737 Commits

Author SHA1 Message Date
J. Nick Koston
c8f00a7b38 Gather all collection listeners and changes at the same time (#42497) 2020-10-29 10:06:55 +01:00
Chris Talkington
708423e0f8 Remove YAML config for roku (#41960) 2020-10-29 09:51:48 +01:00
Chris Talkington
0ba1298f1b Remove YAML config for directv (#41961) 2020-10-29 09:51:22 +01:00
Michael
a2f2a42e66 Fix adding Virtual DSM system in synology_dsm (#42523) 2020-10-29 09:22:36 +01:00
Jason Hunter
2a795c0397 Add guppy3 memory profile to Profiler integration (#42435)
* add guppy memory profile to profiler integration

* add output path to notification

* create new service for memory profile

* address review comments
2020-10-28 21:05:16 -04:00
Aaron Bach
3fb091c4ea Deprecate YAML config for Flu Near You (0.119 removal) (#42535) 2020-10-28 19:54:51 -05:00
Aaron Bach
31518937c0 Cleanup RainMachine (#42544) 2020-10-29 00:52:15 +01:00
Aaron Bach
e61e8fafee Add options flow to RainMachine (#42241)
* Add options flow to RainMachine

* Linting
2020-10-28 15:52:42 -06:00
Adam Cooper
6e43d489ca Implement minor Colorfix alterations (#42521)
* Added logic to ensure one of ATTR_URL or ATTR_PATH is provided using cv, updated tests to reflect this

* Added missing explicit None returns
2020-10-28 20:36:10 +01:00
Paulus Schoutsen
21e9e7c5c2 Default legacy templates to true (#42511)
* Default legacy templates to true

* Disable legacy_templates in tests

Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-10-28 16:58:16 +01:00
J. Nick Koston
94219c2266 Ensure the oauth2 token is refreshed before it is expired (#42487)
The current implementation assumed clocks were in sync and did
not account for the time it took to refresh the token.  A 20
second buffer has been added to ensure that the token is refreshed
before it expires as OAuth2Session.valid_token would assume the
token was still good even though the remote would reject it
and would not refresh because it was not time yet.
2020-10-28 07:47:54 -05:00
Angelo Gagliano
d42bdcfc2a Move async_add_entities back to event loop for tplink component (#42454) 2020-10-28 09:51:53 +01:00
Paulus Schoutsen
e21e28e49f Fix string representation of template result wrappers (#42494) 2020-10-28 09:11:08 +01:00
Erik Montnemery
8800b83283 Fix race in Tasmota discovery (#42492) 2020-10-27 23:24:54 +01:00
Paulus Schoutsen
d4efa938dd Improve mqtt test (#42490) 2020-10-27 23:22:59 +01:00
Erik Montnemery
f0b676607d Bump hatasmota to 0.0.24 (#42472) 2020-10-27 23:01:13 +01:00
Paulus Schoutsen
711b7d4605 Make result wrappers more robust (#42488) 2020-10-27 22:51:58 +01:00
Adam Cooper
4bf8850131 Add color_extractor service (#42129)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-27 22:22:09 +01:00
J. Nick Koston
5ca4b4cd0f Set the translations cache under the lock (#42470) 2020-10-27 22:02:38 +01:00
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
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
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
epenet
f3a15eab6e Discover onewire devices at startup (#42410) 2020-10-26 23:36:51 -05: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 875efe58cf165d84ce68aa8867b99a169fad4ea5.

* 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
epenet
0de52c173c Implement PlatformNotReady on onewire integration (#42395) 2020-10-26 16:33:13 +01:00
J. Nick Koston
935c2df7cb Add a test for template entities that reuse the template (#42404) 2020-10-26 16:08:57 +01:00
Franck Nijhof
45aba9bdf2 Allow skip parsing template result (#42401) 2020-10-26 16:01:09 +01:00
Elena Rogleva
41f917fede Rewrite pilight/test_init.py tests to pytest style test functions (#42366) 2020-10-26 15:26:08 +01:00
Erik Montnemery
029963dfc2 Bump hatasmota to 0.0.23 (#42394) 2020-10-26 14:58:36 +01:00
Paulus Schoutsen
bba770b411 Fix CI (#42397) 2020-10-26 13:36:03 +01:00
Paulus Schoutsen
e552c9ba96 Store original result on template results (#42391)
* Store original result on template results

* Fix shell command test
2020-10-26 11:30:58 +01:00
Glenn Waters
6645cb2637 Cleanup log style and tests for ElkM1 (#42353) 2020-10-26 10:36:28 +01:00
taiyeoguns
8f74a0c2e6 Convert logbook tests to pytest (#42289) 2020-10-26 09:18:02 +01:00
Olen
0cf9a1621a Create __init__.py in AlarmDecoder tests (#42388)
__init__.py was missing
2020-10-26 09:17:15 +01:00
Emily Mills
00df7539cf Use string-lights icon for zerproc (#42379) 2020-10-26 09:04:58 +01:00
J. Nick Koston
ce2c388c09 Ensure config entry platforms are excluded from reload (#42367) 2020-10-25 23:53:31 +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
J. Nick Koston
221bb5ad52 Upgrade to aiohttp 3.7.1 (#42305) 2020-10-25 14:44:39 +01:00
J. Nick Koston
6822190772 Fix unmocked https in the test suite (#42316) 2020-10-25 07:16:23 -05: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
Glenn Waters
cc77621477 Clean up ElkM1 lib (#42319) 2020-10-24 23:46:22 -05: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
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