Commit Graph

23332 Commits (7cebfa75fca09a56dbd2ac4e6405077a3ca5a3a0)

Author SHA1 Message Date
Tomasz ae5d8f4d64
Support color temperature (#39743)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-07 17:29:51 +02:00
J. Nick Koston 90d574e521
Ensure static templates are still called back on first refresh (#39753) 2020-09-07 17:19:39 +02:00
Martin Hjelmare fc2cddc452
Fix netatmo browse_media return type (#39751) 2020-09-07 16:57:22 +02:00
Franck Nijhof 7c86fa0203
Support 'for' without setting the 'to'-state in automation state triggers (#39730) 2020-09-07 16:30:02 +02:00
J. Nick Koston 8c96eb7c56
Retry tado setup later when cloud service is unavailable (#39748) 2020-09-07 16:16:29 +02:00
Anders Melchiorsen 4b84b74b89
Support state trigger with from/for but no to (#39480) 2020-09-07 16:08:24 +02:00
Chris Talkington 8a3279a5c9
Add device action support for remotes (#39400) 2020-09-07 08:54:18 -05:00
Markus Bong 7c56ee8e0c
Add devolo remote devices as binary sensors (#39105) 2020-09-07 08:48:14 -05:00
Markus Bong 007873153e
Add devolo current and total consumption to sensors (#38386) 2020-09-07 07:24:05 -05:00
Paulus Schoutsen b07628ae57
Rework Shelly sensors (#39747)
* Rework Shelly sensors

* Lint

* Add shelly/entity to coveragerc
2020-09-07 14:13:20 +02:00
Bram Kragten 90c6e1c449
Fix cast media player browser (#39745) 2020-09-07 13:44:10 +02:00
Tom 5b5b57b810
Bump Plugwise_Smile from 1.1.0 to 1.4.0 (#39726)
* Provisional commit to test latest pre-release of module

* Bump version to release
2020-09-07 13:17:22 +02:00
cgtobi 21dbce1554
Make Sonos use BrowseMedia (#39742) 2020-09-07 11:24:31 +02:00
RogerSelwyn 2bd2dcb50a
Bump pyskyqhub to 0.1.3 (#39739)
To fix issue - https://github.com/RogerSelwyn/skyq_hub/issues/4 - where tests (and manage) modules includes in pypi package
2020-09-07 10:36:37 +02:00
J. Nick Koston 2e6cd4f12b
Optimize template sandbox for Home Assistant (#39731) 2020-09-07 09:17:41 +02:00
Chris 12cc158b64
Remove ozw lock service for loops, replace with get_value() (#39735) 2020-09-07 08:39:23 +02:00
Alexei Chetroi cd0195a27a
Update ZHA dependencies (#39700)
* Update ZHA dependencies
* Update zigpy-zigate
* Move ZNP on top of the radios so it's probed 1st

Some stick don't like if there was some unexpected traffic on the port
prior the initialization.

* Update dependencies
2020-09-06 23:10:15 -04:00
Erik Montnemery 863b63d75e
Fix handling of device registry defaults (#39688) 2020-09-06 21:08:50 -05:00
pbalogh77 3a36a789ad
Improve climate support for fibaro (#39038)
* Fibaro climate improvements

1, Implemented support for multinode climate devices, such as Danfoss HC10, differentiating zones based on endPointId
2, Improved recognition of temperature sensor subdevice for climate devices
3, Changed default opmode for devices without an opmode to "auto" instead of "fan_only", for better clarity and to avoid misunderstandings

* pylint inspired code restructuring to reduce depth

gotta love pylint
2020-09-06 21:03:03 -05:00
Andrew Marks d0af3339fc
Add unique_id to jewish_calendar entities (#39025) 2020-09-06 20:29:17 -05:00
HomeAssistant Azure c74f187b1f [ci skip] Translation update 2020-09-07 00:03:02 +00:00
J. Nick Koston 4779916ac4
Set DEVICE_CLASS_GATE for iSmartGate gates (#39703) 2020-09-06 18:55:20 -05:00
Jason Hunter 1a78d96014
allow creating directories from camera snapshot, stream record, and tensorflow file out (#39728) 2020-09-06 18:54:24 -04:00
Franck Nijhof 1ec3446c56
State condition can also accept an input_* Entity ID as state value (#39691) 2020-09-07 00:36:01 +02:00
Chris 165dd351b7
Fix some missing ozw sensors (#39686) 2020-09-07 00:04:55 +02:00
Robert Svensson 41abc08d63
Axis - Improve naming of some events (#39699)
* Add support for events from Loitering guard and Motion guard
* Improve naming of events originating from applications Fence guard and VMD4 (Loitering guard and motion guard also benefit from this)
2020-09-06 23:26:06 +02:00
J. Nick Koston 251d8919ea
Add domain filter support to async_all to match async_entity_ids (#39725)
This avoids copying all the states before applying
the filter
2020-09-06 23:20:32 +02:00
Bram Kragten 19818d96b7
Spotify browser add more sources (#39296)
Co-authored-by: Tobias Sauerwein <cgtobi@gmail.com>
2020-09-06 22:55:29 +02:00
Ville Skyttä f828cdcaef
Fix setup of ONVIF devices without snapshot capability (#39723)
* Fix setup of ONVIF devices without snapshot capability

* Unrelated debug message typo fix
2020-09-06 16:52:06 -04:00
Philip Allgaier dd00cfc7a2
Fix media browser panel title (#39720) 2020-09-06 16:48:07 -04:00
J. Nick Koston e649e27d4d
Bump zeroconf to resolve a performance issue with the cache reaper (#39713)
https://github.com/jstasiak/python-zeroconf/pull/297
2020-09-06 22:40:27 +02:00
Bouwe Westerdijk 61e8ab1300
Add Plugwise scan_interval config option (#37229)
Co-authored-by: Tom Scholten <tom@sue.nl>
Co-authored-by: Tom Scholten <git@scholten.nu>
2020-09-06 15:26:14 -05:00
David F. Mulcahey f2d21ea735
Update ZHA storage every 10 minutes (#39710) 2020-09-06 15:00:28 -04:00
fillefilip8 8af64456ec
Add number parsing for OpenHardwareMonitor (#39030) 2020-09-06 20:49:54 +02:00
uvjustin c9a4deb118
Set log level for libav.mp4 in stream (#39719)
Also add @uvjustin to codeowners
2020-09-06 20:46:36 +02:00
Franck Nijhof 878347243d
Numeric state condition can also accept input_number entity ID (#39680) 2020-09-06 20:04:07 +02:00
J. Nick Koston d7e471e244
Add HomeKit discovery for iSmartGate (#39702) 2020-09-06 12:56:38 -05:00
Maciej Bieniek f29154011e
Bump aioshelly library to 0.3.0 (#39716) 2020-09-06 10:34:51 -05:00
kennedyshead af47a94e70
Update py-melissa-climate to 2.1.4 (#39708)
* Bumping melissa version

Took 48 minutes

* Black

Took 6 minutes

Co-authored-by: magnusknutas <magnus@thefarm.se>
2020-09-06 10:22:52 -05:00
Franck Nijhof a3c45a6f89
Add shorthand notation for Template conditions (#39705) 2020-09-06 16:55:06 +02:00
Franck Nijhof da9b077c11
Time condition can also accept an input_datetime Entity ID (#39676) 2020-09-06 16:06:09 +02:00
Simone Chemelli f298281ec4
Make multi-switches device a single device with 2 switches (#39689)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-06 16:05:10 +02:00
Paulus Schoutsen df8daf561e
Browse media class (#39698) 2020-09-06 15:52:59 +02:00
Chris Talkington 13a6aaa6ff
Add media browser support to roku (#39652)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-06 14:53:45 +02:00
Martin Hjelmare 405311e89f
Bump pytradfri to 7.0.2 (#39707) 2020-09-06 12:01:14 +02:00
Jason Hunter 3b88452b2f
Upgrade TensorFlow to 2.3 (#39673) 2020-09-06 10:12:36 +02:00
HomeAssistant Azure 2f0138e891 [ci skip] Translation update 2020-09-06 00:03:25 +00:00
Martin Hjelmare f584e3f689
Bump pytradfri to 7.0.1 (#39696) 2020-09-06 00:36:32 +02:00
Simone Chemelli 1fffa748e5
Improve handling of DHCP devices (#39683) 2020-09-06 00:17:10 +02:00
Joakim Plate 74fea6d306
Add Arcam radio media browsing (#39593) 2020-09-06 00:10:18 +02:00
Martin Hjelmare b6630a48b2
Add tradfri api call error handling (#39681)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-09-05 23:02:32 +02:00
Joakim Plate 29c1bec0f3
Match documentation on expose being default True (#39692) 2020-09-05 21:49:33 +02:00
MatthewFlamm 958c9c08d6
Use more homeassistant constants in NWS (#39690) 2020-09-05 21:11:15 +02:00
springstan d2b1918e9c
Drop UNIT_ prefix for percentage constant (#39383) 2020-09-05 21:09:14 +02:00
Egor Shilyaev cdc93d7110
Fix for starline authorization (#39674) 2020-09-05 16:40:39 +02:00
Robert Van Gorkom b860caa631
Add iSmartGate support (#39437)
* Add iSmartGate support.

* Addressing PR feedback.

* More PR feedback cleanups.
2020-09-05 09:26:01 -05:00
Keilin Bickar 3022fc4702
Add Emulated Kasa Integration (#39630)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-05 07:57:45 -05:00
Rob Bierbooms 8567fe94e1
Add connection validation on import for dsmr integration (#39664) 2020-09-05 12:05:46 +02:00
Nishchith Shetty 3565fec005
Add parameters for enabling Auth in Apache Kafka integration (#39611) 2020-09-05 10:44:30 +02:00
Philip Allgaier 7be5ef8b6c
Improve systemmonitor (#36283)
* Improvements for systemmonitor

* Use MDI CPU icon (bit architecture determined at runtime)
* Consistent usages of "percent" (ensured backwards compatibility by explicity setting the entity_id)
* Default value "/" (root) for disk_* sensors to prevent runtime issues if not specified in configuration

* Added CPU temperature sensor to systemmonitor

* Code streamlining of CPU temperature retrieval

* Corrected sensor state handling and added "available" logic

* Corrected ENTITY_ID to include argument

* Optimized "available" handling & CPU temperature detection

* Corrected tuple for CPU temperature determination

* - Do not create CPU temperature entity if no sensor data can be read
- Re-use temperature sensor labels from "glances" integration

* Array fix

* Corrected sensor array access

* Handle empty temperature sensor labels (same logic as used by "glances")

* PR comments: Setting unique_ID and f-strings

* Removed unused constants

* Revert entity rename (wait until next release)
2020-09-05 05:51:18 +02:00
HomeAssistant Azure 2183ff5906 [ci skip] Translation update 2020-09-05 00:04:17 +00:00
Evgeny b0192cf9c0
Add OpenWeatherMap config_flow (#34659)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-04 18:22:50 -05:00
Maciej Bieniek 1e770f089d
Bump accuweather library (#39667) 2020-09-04 18:01:49 -05:00
Maciej Bieniek 8b4847162d
Bump gios library (#39669) 2020-09-04 18:01:34 -05:00
Jason Hunter 706f1f8a66
Register media browser panel (#39655)
* register media browser panel

* Apply suggestions from code review.

Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>

* Update homeassistant/components/media_source/__init__.py

Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>

Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>
2020-09-05 00:28:53 +02:00
Bram Kragten ab2d171909
Updated frontend to 20200904.0 (#39665) 2020-09-05 00:23:20 +02:00
RogerSelwyn 0d3396ed64
Add mac address to sky_hub tracker (#39506)
* Add mac address to Sky_Hub tracker

* Update manifest.json

* Update device_tracker.py

* Update device_tracker.py

* Update device_tracker.py

* Apply suggestions from code review

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-09-04 15:31:06 -05:00
Andrew Marks 01bac9f433
Refactor sharkiq tests (#39564)
* Refactor sharkiq tests

* Fix linting

* Remove unussed logger

* Test one more code branch

* Don't patch integration files

* Remove legacy calls

* Linting fixes

* Refactor coordinator update tests

* Reformat test params

* Refector config flow tests

* Minor code cleanup

* Fix spelling error

* Address review

* Minor formatting change

* Remove vacuum.py from .coveragerc
2020-09-04 15:13:11 -05:00
Joakim Plate 1cb60dd5c7
Replace old source prefixing for channels with new media browser (#39596)
* Replace old source prefixing for channels with new media browser

* Restore support to call select source with prefix

* Drop warning log for deprecated call method
2020-09-04 22:12:31 +02:00
Charles Garwood 4885b22cb4
Improve ozw websocket response when node is not found (#39653)
* Return not_found error over ws if node is not found

* Remove unrelated code from this PR

* Only import ERR_NOT_FOUND from core websocket_api
2020-09-04 15:52:47 -04:00
Chris Talkington 1fb70625a3
Prevent mpchc from spamming logs (#39663) 2020-09-04 14:22:50 -05:00
On Freund ad6e8b2d62
Add event sensors for risco (#39594)
* Add Risco event sensors

* Fix lint
2020-09-04 14:11:07 -05:00
J. Nick Koston 9b23d7c2fd
Use the shared Zeroconf instance in esphome (#38747) 2020-09-04 21:01:41 +02:00
Rob Bierbooms 7f7a0003c7
Address review comments on dsmr update to ConfigEntry (#39662) 2020-09-04 20:56:22 +02:00
kennedyshead 767be18265
Bumping aioasuswrt version so that it have license-tag and manifest (#39654)
Took 32 minutes

Co-authored-by: magnusknutas <magnus@thefarm.se>
2020-09-04 14:52:44 -04:00
cgtobi 84944cfc24
Add Netatmo media browser support (#39578) 2020-09-04 20:21:42 +02:00
Greg Dowling 08d5175d05
Improve handling of roon radio data (#39659) 2020-09-04 13:19:18 -05:00
Keilin Bickar 05e15dc318
Add unique ID to demo fan (#39658) 2020-09-04 11:23:53 -05:00
Maciej Bieniek f1ee11cb14
Bump brother library (#39657) 2020-09-04 11:21:23 -05:00
Jason Hunter f2b3e63ff6
Media Source implementation for Chromecast (#39305)
* Implement local media finder and integrate into cast

* update to media source as a platform

* Tweak media source design

* fix websocket and local source

* fix websocket schema

* fix playing media

* Apply suggestions from code review

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

* Add resolve_media websocket

* Register that shit

* Square brackets

* Sign path

* add support for multiple media sources and address PR review

* fix lint

* fix tests from auto whitelisting config/media

* allow specifying a name on the media source

* add tests

* fix for python 3.7

* Apply suggestions from code review

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

* add http back to cast and remove guess_type from executor as there is no i/o

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-04 11:16:29 -04:00
jjlawren f01a0f9151
Allow separate URL for REST switch state (#39557) 2020-09-04 16:58:40 +02:00
J. Nick Koston ebc31c0f08
Do not treat nexia http not found as invalid auth (#39484)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-04 16:54:27 +02:00
jjlawren 55040cfde5
Reduce log level for Plex service call (#39647) 2020-09-04 16:47:39 +02:00
Maciej Bieniek 0b7576b634
Add some missing sensors for Shelly integration (#39651) 2020-09-04 16:42:57 +02:00
Markus Bong fa1b8c824c
Add devolo thermostat devices (#38594)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-04 08:33:54 -05:00
Bjørn Snoen f207d46390
Allow using environment cacert file (#38816) 2020-09-04 13:54:20 +02:00
Oscar Calvo 08d93b8349
Make resilient to errors while receiving SMS (#37577) 2020-09-04 12:48:15 +02:00
Hmmbob 60c7a91794
Add payload to debug output of rest_command (#39190) 2020-09-04 12:39:26 +02:00
Maciej Bieniek ad3e520e09
Fix sensors without unit attribute in Shelly integration (#39629) 2020-09-04 11:44:22 +02:00
Franck Nijhof 8fd9f56d21
Upgrade wled to 0.4.4 (#39641) 2020-09-04 11:33:31 +02:00
jjlawren dd7f282723
Add new Plex movie lookup method for media_player.play_media (#39584) 2020-09-04 11:32:36 +02:00
Franck Nijhof fdb737d1d9
Upgrade isort to 5.5.0 (#39639) 2020-09-04 09:23:24 +02:00
Franck Nijhof ed3e04b9ed
Fix Spotify scopes validation for re-auth (#39638) 2020-09-04 08:57:12 +02:00
Angelo Gagliano eb7742ea7c
Add support for VeSync Fans (#36132)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-03 21:05:37 -05:00
J. Nick Koston 1034e4ec50
Bump nexia to 0.9.4 (#39634)
Fix for type missing in the json response
2020-09-03 20:54:48 -04:00
HomeAssistant Azure bfd6989c75 [ci skip] Translation update 2020-09-04 00:04:26 +00:00
Anders Melchiorsen da82d171e0
Add radio channel attribute to Sonos (#39631) 2020-09-03 23:47:32 +02:00
Chris Talkington f6a3eea7f2
Add device class to directv devices (#39628)
* add device class to directv devices

* Update test_media_player.py

* Update media_player.py

* Update test_media_player.py

* Update media_player.py
2020-09-03 23:27:13 +02:00
Rob Bierbooms d0120d5e0a
Update DSMR integration to import yaml to ConfigEntry (#39473)
* Rewrite to import from platform setup

* Add config flow for import

* Implement reload

* Update sensor tests

* Add config flow tests

* Remove some code

* Fix pylint issue

* Remove update options code

* Add platform import test

* Remove infinite while loop

* Move async_setup_platform

* Check for unload_ok

* Remove commented out test code

* Implement function to check on host/port already existing

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

* Implement new method in import

* Update tests

* Fix test setup platform

* Add string

* Patch setup_platform

* Add block till done to patch block

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-09-03 16:19:45 -05:00
Chris Talkington 77f5fb765b
Add device class for roku devices (#39627)
* add tv device class for roku tvs

* Update test_media_player.py

* Update test_media_player.py

* Update media_player.py

* Update test_media_player.py

* Update media_player.py

* Update test_media_player.py

* Update test_media_player.py

* Update media_player.py
2020-09-03 17:06:24 -04:00
On Freund a87fedc0af
Automatically configure HTTP auth type in ONVIF snapshots (#38729)
* Allow selection of HTTP auth type in ONVIF snapshots

* Auto populate snapshot auth

* Fix no auth case

* Add missing return
2020-09-03 22:41:24 +02:00
J. Nick Koston 35e84d0427
Add as_local convenience function to jinja templates (#39618) 2020-09-03 14:35:16 -05:00
Chris Talkington a9cc882394
Improve mpd media position handling (#39390)
* improve mpd media position handling

* Update media_player.py

* Update media_player.py

* Update media_player.py
2020-09-03 12:23:02 -05:00
Chris Talkington 17b4c1a2ca
Use CoordinatorEntity for supla (#39621) 2020-09-03 19:11:14 +02:00
Chris Talkington a0663d84d2
fix black for stream (#39622) 2020-09-03 11:54:04 -05:00
Martin Hjelmare bde0bdbf80
Clean tradfri hass data and add tests (#39620) 2020-09-03 18:39:24 +02:00
Joakim Plate d128443a2a
Google assistant openclose (#39612)
* Make sure we set discreteOnlyOpenClose for binary sensors

* Mark switches that are assumed state as commandOnlyOnOff

* Drop stray extra line

* Fix pylint error

Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-09-03 18:32:57 +02:00
Michał Węgrzynek 8818a5ab6c
Use DataUpdateCoordinator for supla (#38921)
* Linter suggestions

* Store coordinator in hass.data[supla_coordinators]

* Server cleanup

* Spelling mistake

* Fixes suggested in review

* Pass server and coordinator during async_setup_platform

* Linter changes

* Rename fetch_channels to _fetch_channels

* Linter suggestions

* Store coordinator in hass.data[supla_coordinators]

* Server cleanup

* Fixes suggested in review

* Pass server and coordinator during async_setup_platform

* Linter changes

* Remove scan interval configuration option

* Linting

* Isort

* Disable polling, update asyncpysupla version

* Black fixes

* Update manifest.json

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-09-03 11:25:30 -05:00
Eric Severance 9baa7c6c24
Restart keepalive streams (#38863) 2020-09-03 12:22:00 -04:00
Paulus Schoutsen fbbfd46fb8
Add .well-known/password-change (#39613) 2020-09-03 18:13:33 +02:00
jjlawren 4ebcbadfc2
Address Plex review comments (#39591) 2020-09-03 18:10:37 +02:00
starkillerOG e288246366
Add troubleshooting link to error message for xiaomi_aqara (#39617) 2020-09-03 17:26:13 +02:00
SukramJ 4dee2b599a
Add HmIP-STV to HomematicIP Cloud (#39518)
* add general attribute for connection type

* Add HmIP-STV to HomematicIP Cloud
2020-09-03 17:23:42 +02:00
Tomer Figenblat 77c6a48553
Update aioswitcher to 1.2.1 (#39614) 2020-09-03 16:58:31 +02:00
Paulus Schoutsen 948ec80b6e
Bump pytradfri to 7.0.0, support multiple gateways (#39609)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-03 14:47:14 +02:00
Martin Eberhardt 8ca9724258
Expose more attributes in rejseplanen (#37216) 2020-09-03 13:43:35 +02:00
Franck Nijhof 1c90bdddb4
Upgrade apprise to 0.8.8 (#39606) 2020-09-03 13:30:42 +02:00
Franck Nijhof 0cba7acf5a
Upgrade sentry-sdk to 0.17.3 (#39607) 2020-09-03 13:29:17 +02:00
Maciej Bieniek 7e50a4999c
Add support for Shelly Gas to the Shelly integration (#39478)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-03 10:54:25 +02:00
Paulus Schoutsen 6d1ba10788
Bump hass-nabucasa to 0.36.0 (#39603)
* Bump hass-nabucasa to 0.36.0

* hass-nabucasa 0.36.1
2020-09-03 10:43:51 +02:00
SukramJ f2f68859cc
Fix wrong error message on adding a new HomematicIP Cloud AP (#39599) 2020-09-03 09:52:51 +02:00
jjlawren aecd74c6af
Add service to scan for new Plex clients (#39074) 2020-09-03 09:35:37 +02:00
Maciej Bieniek 226406b853
Improve tests for GIOS integration (#39514) 2020-09-03 09:27:21 +02:00
jjlawren d66bc6a873
Add Recently Added and On Deck to Plex media browser (#39232) 2020-09-03 09:26:30 +02:00
Hendrik Schröter 49daf57c54
Fix rain retrival for OWM (#39566)
As documented in the OWM API (https://openweathermap.org/api/one-call-api), rain and snow are reported on a 1h basis:

current.rain
    current.rain.1h (where available) Rain volume for last hour, mm
current.snow
    current.snow.1h (where available) Snow volume for last hour, mm
2020-09-03 08:16:38 +02:00
J. Nick Koston 65e53b8251
Support reloading mqtt yaml configuration (#39531) 2020-09-02 20:16:21 -05:00
J. Nick Koston 56e76a3265
Support reloading the smtp notify platform (#39530)
* Support reloading the smtp notify platform

* patch test
2020-09-02 19:43:07 -05:00
J. Nick Koston 93555fed75
Support reloading the telegram notify platform (#39529)
* Support reloading the telegram notify platform

* services.yaml
2020-09-02 19:08:47 -05:00
HomeAssistant Azure 65b227126d [ci skip] Translation update 2020-09-03 00:06:16 +00:00
J. Nick Koston 661b593db3
Support reloading the rest notify platform (#39527)
* Support reloading the rest notify platform

* update services.yaml

* fix conflict
2020-09-02 18:25:43 -05:00
J. Nick Koston a778690b64
Support reloading the group notify platform (#39511) 2020-09-03 00:12:07 +02:00
Tomasz 2d2efeb9bb
Add the ability to reload rpi_gpio platforms from yaml (#39548)
* add reload service

* test for reload service

* missing file

* Revert "missing file"

This reverts commit 24391fe3b9.

* Revert "test for reload service"

This reverts commit 5bda48d070.
2020-09-02 14:28:18 -05:00
jjlawren cb1cf2238d
Add Plex service to refresh a library (#39094)
* Add Plex service to refresh a library

* Clean up rebase leftovers

* Re-run black

* Fix docstring

Co-authored-by: Charles Garwood <cgarwood@newdealmultimedia.com>

Co-authored-by: Charles Garwood <cgarwood@newdealmultimedia.com>
2020-09-02 13:56:41 -05:00
Daniel Hjelseth Høyer 97602a127a
Reintroduce custom met.no url (#39583) 2020-09-02 20:56:23 +02:00
springstan e3354895f8
Round sensor readings for bom (#39513) 2020-09-02 11:59:21 -06:00
Charles Garwood 5fafaa3c4f
Add get_migration_config to zwave websocket api (#39577)
* Add get_migration_config to zwave websocket api

* Add test
2020-09-02 18:56:09 +02:00
Xiaonan Shen 7b3182fa8f
Improve Yeelight code (#39543)
* Rename ipaddr to ip_addr

* Move custom services to entity services

* Remove platform data

* Change service setup to callback

* Rename ip_addr to host

* Use _host inside class
2020-09-02 18:42:12 +02:00
Ziv dfa6f0223a
library version upgrade to 0.46 (#39580) 2020-09-02 18:07:27 +02:00
J. Nick Koston 45c28dd9c5
Provide a logbook option entity_matches_only to optimize for single entity lookup (#39555)
* Provide a logbook option entity_matches_only to optimize for single entity id lookup

When entity_matches_only is provided, contexts and events that do not
contain the entity_id are not included in the logbook response.

* Update homeassistant/components/logbook/__init__.py

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

* api only takes a single entity

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-02 10:32:08 -05:00
Olivér Falvai 70e39a26a2
Fix UPC ConnectBox logout and device hostnames (#39568) 2020-09-02 14:56:32 +02:00
Michael Thingnes 0892acbabd
Met.no migrate from classic to complete endpoint (#39493) 2020-09-02 14:11:13 +02:00
Joakim Plate ec6a1f9137
Add support for receiver and speaker device classes (#38381)
These are now officially supported by google
2020-09-02 11:59:51 +02:00
Raman Gupta 7ff633f531
Automatically update app list for Vizio SmartTV's (#38641) 2020-09-02 11:55:10 +02:00
Ville Skyttä 9f5baa0bf7
Syncthru device registry (#36750)
* Store printer instances in hass.data

* Add SyncThru device registry support

* Use config entry id as hass.data key

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

* Use printer hostname as device registry name

* Handle non-syncthru device more gracefully on entry setup

* Use device identifiers rather than connections to link entities with devices

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-02 11:50:57 +02:00
Paulus Schoutsen d5bcafaefd
Handle Alexa entity removed (#39569) 2020-09-02 11:30:37 +02:00
Phil Bruckner 4486251382
Add max_exceeded log level option to automations & scripts (#39448) 2020-09-02 11:05:14 +02:00
cgtobi 603707aa85
Add Sonos media browser capability (#39239) 2020-09-02 10:57:12 +02:00
Erik Montnemery 4c6960ed36
Fix discovery update of MQTT light (#39325) 2020-09-02 10:52:33 +02:00
J. Nick Koston e55a014e94
Undecorate RenderInfo result property (#39108) 2020-09-02 10:35:15 +02:00
J. Nick Koston 3e9963a216
Overcome group concurrent setup limitation (#39483)
With a lot of groups the limitation that groups
had to be setup one at a time could account for
the bulk of startup time.
2020-09-02 10:14:16 +02:00
J. Nick Koston 557684c3ce
Add ability to disable the sqlite3 quick_check (#39479) 2020-09-02 10:12:56 +02:00
Paolo Antinori 225becc89a
Add alexa unofficial specific API support for Italian (#39475)
Co-authored-by: ochlocracy <5885236+ochlocracy@users.noreply.github.com>
2020-09-02 09:56:11 +02:00
Simone Chemelli 07f2f78b02
Add shelly overtemp and vibration sensors (#39556) 2020-09-02 08:56:27 +02:00
Finbarr Brady acfb4e462e
Bump openwrt-luci-rpc to 1.1.6 (#39561)
* Update requirements_all.txt

* Update manifest.json
2020-09-02 07:34:00 +02:00
Chris Talkington e921f72d31
Use media state to better represent roku state (#39540)
* use media state to better represent roku state

* Update media_player.py

* Update media_player.py

* Update media_player.py

* Update media_player.py

* Update media_player.py

* Update media_player.py

* Update media_player.py

* Update media_player.py

* Update test_media_player.py

* Update test_media_player.py

* Update test_media_player.py

* Update media_player.py

* Update test_media_player.py

* Update test_media_player.py
2020-09-01 20:40:45 -05:00
HomeAssistant Azure 5ce62c8446 [ci skip] Translation update 2020-09-02 00:03:29 +00:00
Bram Kragten 10606360f7
Updated frontend to 20200901.0 (#39560) 2020-09-02 00:35:11 +02:00
Arda ŞEREMET 1eda3d31f9
Apply code review on progettihwsw (#39520) 2020-09-01 19:42:17 +02:00
Andrew Marks 064d115ccb
Address open review issues in sharkiq integration (#39504) 2020-09-01 17:51:27 +02:00
On Freund c6805aa354
Update pycoolmaster-async to 0.1.1 (#39551) 2020-09-01 16:41:05 +02:00
Jean-Yves Avenard cf4b6307ae
Provide compatibility with older Home Assistant installations. (#39539)
Prior 0.113 all lights and switches were reported as dimmable devices and this was fixed by #37978.
However, under some circumstances Alexa will not smoothly transition from those broken devices to the new ones as it cache the list of entities.
It is imperative to have Alexa rediscover all devices and then remove the now non-responding duplicates using the Alexa phone App. This can take quite a while if you have lots of devices.
An alternative would be to log to the Alexa web site and remove all the lights instead and then re-discover them all.

If you have multiple echo devices on your network, it is possible that the entries would continue to show as duplicates. This is due to an individual echo devices caching the old list and re-using it.
The only known solution for this is to remove your echo devices from your Amazon account and re-add them.
After that, have Alexa rediscover all your devices.

This is a one-off requirement.

Fixes #39503
2020-09-01 09:16:40 -05:00
J. Nick Koston 762537d82d
Deprecate manually passing entity ids to template entities (#39382)
It is no longer necessary to provide a list of entities to monitor
to the template platforms.

The template is now re-evaluated whenever
a referenced entity changes state, and new entities are automaticlly
discovered.

Automatic analysis can now determine the entities for all templates
without the need for manual setup.
2020-09-01 08:53:50 -05:00
rajlaud 352995c663
Squeezebox scene fixes (#38214)
* Support for playlist in media_content_id

* Support include playlist index in content_id

* Add media_player.media_stop support to squeezebox
2020-09-01 08:28:34 -04:00
Tom Brien 151c0d9761
Provide user-defined actions to app (#38572)
* Start moving stuff to iOS

* Load config on to hass.data

* Remove un used logging

* Switch to Rest API

* Add schema

* Return whole config in new view and leave old 100 % the same

* Update doc strings

* MartinHjelmare feedback

* Move register view to async_setup_entry
2020-09-01 08:24:23 -04:00
Paulus Schoutsen aa476b392c
Filter out disconnected Shelly sensors (#39516) 2020-09-01 08:18:11 -04:00
On Freund 963651d6f2
Add support for authenticated Shelly devices (#39461)
* Add support for authenticated Shelly devices

* Fix comment typos

* Update homeassistant/components/shelly/config_flow.py

Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>

* Fix unauthenticated devices

* Update homeassistant/components/shelly/config_flow.py

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

* Code review fixes

* More code review fixes

* Fix typo

* Update homeassistant/components/shelly/config_flow.py

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

Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-01 08:08:37 -04:00
SNoof85 32094c8773
Fix missing end tag in translation key (#39546) 2020-09-01 08:05:09 -04:00
On Freund dde0dab3db
Handle missing values in Shelly sensors (#39515) 2020-09-01 08:04:42 -04:00
Finbarr Brady b541abc551
Bump openwrt-luci-rpc version: 1.1.3 → 1.1.5 (#39545) 2020-09-01 13:03:41 +02:00
Marvin Wichmann 69b3da48b1
Adds missing name property to KNX weather device (#39547) 2020-09-01 13:01:47 +02:00
jdelaney72 762d7357b5
Fix outdated api url in noaa_tides (#39370)
* Fix outdated dependency in noaa_tides

* Catch exceptions when instantiating new Station

* Add myself to codeowners
2020-09-01 12:42:39 +02:00
Xiaonan Shen 99d830551a
Bump yeelight to 0.5.3 (#39542) 2020-09-01 00:06:30 -05:00
J. Nick Koston a77e09b2c2
Make async_track_template_result track multiple templates (#39371)
* Make async_track_template_result track multiple templates

Combine template entity updates to only write ha
state once per template group update

* Make async_track_template_result use dataclasses for input/output

* black versions

* naming
2020-08-31 19:07:40 -05:00
HomeAssistant Azure 8d68963854 [ci skip] Translation update 2020-09-01 00:07:08 +00:00
J. Nick Koston 60d1606049
Fix kodi codeowners (#39532) 2020-08-31 16:18:12 -05:00
On Freund 4828d3d85b
Update pyvolumio to 0.1.1 (#39525) 2020-08-31 20:42:14 +02:00
J. Nick Koston 11e4ad2272
Bump zeroconf to 0.28.3 (#39471)
Changes:
https://github.com/jstasiak/python-zeroconf/pull/287

Hopefully this will fix the last round of HomeKit issues
2020-08-31 13:11:26 -05:00
On Freund d8b4fa4a8b
Update pyvolumio to 0.1.2 (#39522) 2020-08-31 20:08:08 +02:00
On Freund 72fe4db937
Update pyrisco to 0.2.4 (#39521) 2020-08-31 20:04:41 +02:00
SukramJ 5de1d04b6e
Bump dependency to 0.11.0 for HomematicIP Cloud (#39508)
* Bump dependency to 0.11.0 for HomematicIP Cloud

* Update test data
2020-08-31 18:18:12 +02:00
Maciej Bieniek 7e87181826
Bump gios library to version 0.1.3 (#39507) 2020-08-31 16:55:59 +02:00
Xiaonan Shen 45a927ffb2
Add config flow to yeelight (#37191) 2020-08-31 16:40:56 +02:00
Stefan Lehmann 3ab6663434
Fix ADS component by bumping pyads version to 3.2.2 (#39502) 2020-08-31 15:53:16 +02:00
David F. Mulcahey 7062838940
Add entity services to the Flo integration (#38287)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-08-31 15:37:45 +02:00
J. Nick Koston 4d637e5f30
Skip setup of dependencies if they are already setup (#39482)
after_dependencies were checking hass.config.components
to see if something was already setup.  We did not do
the same for dependencies which resulted in trying
to set them up more then once.

Noticed when `homeassistant.setup` was set to debug
logging and many integrations were announcing
waiting on http when it was already setup.
2020-08-31 07:54:15 -04:00
starkillerOG f187091594
Add Xiaomi Miio gateway illuminance sensor and gateway light (#37959)
Co-authored-by: Xiaonan Shen <s@sxn.dev>
Co-authored-by: Teemu R. <tpr@iki.fi>
2020-08-31 13:27:57 +02:00
arunderwood 84205a9a57
route53 - support updating base domain (#39264) 2020-08-31 11:48:55 +02:00
Marvin Wichmann bba8b8e759
Add support for a dedicated weather station within KNX (#39476)
* Adds support for a dedicated weather station within KNX

* Review

* Change config values to comply with the naming of the other platforms
2020-08-31 11:38:52 +02:00
Paulus Schoutsen 190611a079
Detect comments in jinja templates (#39496) 2020-08-31 10:51:30 +02:00
Denys Dovhan 00eb23b43f
Allow loading Lovelace dashboards not only from root (#37561) 2020-08-31 10:51:03 +02:00
Franck Nijhof 97e1be98df
Upgrade sentry-sdk to 0.17.1 (#39495) 2020-08-31 10:28:52 +02:00
Paulus Schoutsen 4688171ce0
Add cache headers to picture integration (#39402) 2020-08-31 09:25:39 +02:00
Eugene Prystupa b71cbd2033
Fix a problem with set_speed(off) when direct HA API for set speed is called (#39488) 2020-08-30 21:10:15 -05:00
HomeAssistant Azure 2856915b6d [ci skip] Translation update 2020-08-31 00:03:01 +00:00
Tom Harris 75153dd4a3
Apply code review for insteon config flow (#39171)
* Move options import to async_setup_entry

* Add tests for insteon init

* Move common constants to const

* Clean up to adhear to standards

* Create mock insteon device manager

* Update for HA standards

* Use keys and align to config_flow steps

* Fix default port for hub v1

* Update doc string to represent function

* Remove dump print commands

* Add modem_type entry

* Simplify dict key test

* Setup platforms in async_setup_entry

* Black

* Black tests
2020-08-30 19:15:09 -04:00
Aidan Timson f7e6b060a7
Make onvif username optional (#39415) 2020-08-30 17:39:33 -04:00
Chris Talkington 159f6750d7
Update progettihwsw to use CoordinatorEntity (#39477)
* update progettihwsw to use CoordinatorEntity

* Update switch.py

* Update binary_sensor.py

* Update binary_sensor.py

* Update switch.py
2020-08-30 22:53:32 +02:00
Arda ŞEREMET e707b50658
Add integration for ProgettiHWSW automation boards (#37922)
* Opened a new fresh page to clean my mess.

* Solved pylint warnings

* Fixing pylint issue of defining attr outside init.

* Excluded files from being tested by codecov.

* Solved binary sensor error.

* Fixed some stylisation errors.

* Resolved input not updating problem.

* Added port entry to test file.

* Added tests for create_entry.

* Added support for better state management.

* Increased code coverage of config_flow.py & made some tweaks.

* Increased coverage of config_flow.py by adding tests for unknown exceptions.

* A small bugfix.

* Stylised code as per Chris' suggestions.

* Stylised code again.

* Improved quality of test code.

* Added step_id in config flow tests.
2020-08-30 15:03:33 -05:00
J. Nick Koston 25f9560fb6
Update schluter to use CoordinatorEntity (#39454) 2020-08-30 14:19:48 -05:00
J. Nick Koston 705b253a99
Update awair to use CoordinatorEntity (#39469) 2020-08-30 14:05:22 -05:00
Tom Brien 56057a638f
Clarify when message come from FCM (#39455) 2020-08-30 14:04:36 -05:00
Chris Talkington 863c7414bc
Implement code review for nzbget (#39425)
* implement code review for nzbget

* Update strings.json

* Update sensor.py

* Update config_flow.py

* Update sensor.py

* Update config_flow.py

* Update config_flow.py

* Update config_flow.py
2020-08-30 13:59:15 -05:00
J. Nick Koston 9ec870c750
Update hunterdouglas_powerview to use CoordinatorEntity (#39463) 2020-08-30 13:28:09 -05:00
J. Nick Koston b57f33c41a
Update control4 to use CoordinatorEntity (#39466) 2020-08-30 13:27:46 -05:00
J. Nick Koston ab0b0dc51c
Update ovo_energy to use CoordinatorEntity (#39459) 2020-08-30 13:20:45 -05:00
J. Nick Koston 1fbb158211
Update dexcom to use CoordinatorEntity (#39464) 2020-08-30 13:20:01 -05:00
J. Nick Koston c4f5a05b27
Update coolmaster to use CoordinatorEntity (#39465) 2020-08-30 13:18:19 -05:00
Maciej Bieniek 80910b4f9a
Add bieniu as code owner for shelly (#39467) 2020-08-30 13:17:27 -05:00
J. Nick Koston 9d1045dd7a
Update met to use CoordinatorEntity (#39462) 2020-08-30 20:14:09 +02:00
Marvin Wichmann 9f4d4862b4
Update xknx to 0.13.0 (#39407) 2020-08-30 20:13:47 +02:00
J. Nick Koston 2b78d5235d
Update risco to use CoordinatorEntity (#39456) 2020-08-30 13:04:30 -05:00
springstan e5b360cd08
Update coronavirus to use CoordinatorEntity (#39449)
* Update coronavirus to use CoordinatorEntity

* Remove should_poll from coronavirus
2020-08-30 13:04:01 -05:00
J. Nick Koston 692ed8c639
Update notion to use CoordinatorEntity (#39460) 2020-08-30 13:02:56 -05:00
J. Nick Koston 773860ca5c
Update plugwise to use CoordinatorEntity (#39457) 2020-08-30 13:02:27 -05:00
springstan 953626b2d4
Update meteo_france to use CoordinatorEntity (#39432)
* Update meteo_france to use CoordinatorEntity

* Update homeassistant/components/meteo_france/sensor.py

* Update homeassistant/components/meteo_france/weather.py

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-30 19:52:53 +02:00
Chris Talkington bd7682a694
Update roku state faster after actions (#39453)
* update roku state faster after actions

* Update media_player.py

* Update remote.py
2020-08-30 12:42:53 -05:00
J. Nick Koston 8b893173fd
Prevent CoordinatorEntity from requesting updates on disabled entities (#39452) 2020-08-30 12:10:22 -05:00
springstan 17734d54ab
Update hue to use CoordinatorEntity (#39446) 2020-08-30 11:32:56 -05:00
springstan d3b845c01a
Update tile to use CoordinatorEntity (#39439) 2020-08-30 11:32:32 -05:00
J. Nick Koston d9c9adbc91
Update tankerkoenig to use CoordinatorEntity (#39440) 2020-08-30 18:27:06 +02:00
springstan cceaa088cb
Update toon to use CoordinatorEntity (#39441) 2020-08-30 18:26:37 +02:00
J. Nick Koston 225743a620
Update upnp to use CoordinatorEntity (#39434) 2020-08-30 18:17:41 +02:00
springstan 42818c150f
Update pi_hole to use CoordinatorEntity (#39433) 2020-08-30 11:10:45 -05:00
springstan 7bed868d60
Update wolflink to use CoordinatorEntity (#39444) 2020-08-30 11:10:28 -05:00
springstan ce1ef73366
Update WLED to use CoordinatorEntity (#39442) 2020-08-30 18:05:55 +02:00
Marius 77fe206084
Update stookalert to use DEVICE_CLASS_SAFETY constant (#39438)
asper discussion here https://github.com/home-assistant/core/pull/39310#issuecomment-681968732
2020-08-30 18:01:04 +02:00
springstan 22b8d43bf5
Update tesla to use CoordinatorEntity (#39436) 2020-08-30 10:48:15 -05:00
springstan e701001c5f
Update poolsense to use CoordinatorEntity (#39435) 2020-08-30 10:47:45 -05:00
springstan 1e97ca14f1
Update accuweather to fully use CoordinatorEntity (#39431) 2020-08-30 10:38:26 -05:00
springstan e984801104
Update iammeter to use CoordinatorEntity (#39423)
* Update iammeter to use CoordinatorEntity

* Remove async_will_remove_from_hass and async_added_to_hass
2020-08-30 10:02:55 -05:00
J. Nick Koston 0a389a4651
Update sharkiq to use CoordinatorEntity (#39427)
* Update sharkiq to use CoordinatorEntity

Fix pylint

* revert
2020-08-30 09:52:48 -05:00
springstan 70c241b51b
Fix pylint erros for sharkiq (#39428) 2020-08-30 09:51:50 -05:00
J. Nick Koston 4a21b1f589
Update smart_meter_texas to use CoordinatorEntity (#39426) 2020-08-30 16:43:30 +02:00
springstan a1d48ad1ec
Update juicenet to use CoordinatorEntity (#39424) 2020-08-30 09:38:15 -05:00
springstan baf5750425
Update gios to use CoordinatorEntity (#39421) 2020-08-30 09:37:03 -05:00
springstan 186c13f1ab
Update eafm to use CoordinatorEntity (#39420) 2020-08-30 09:17:59 -05:00
Chris Talkington 16a0bd7ff3
Update ipp to use CoordinatorEntity (#39412)
* update ipp to use CoordinatorEntity

* Update homeassistant/components/ipp/__init__.py

Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>

* Solve isort and black

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-08-30 09:07:36 -05:00
springstan 152b6c2d1a
Update accuweather to use CoordinatorEntity (#39408) 2020-08-30 09:06:38 -05:00
springstan 29c1f873eb
Update brother to use CoordinatorEntity (#39418) 2020-08-30 09:02:12 -05:00
springstan 64513c8c9a
Update airvisual to use CoordinatorEntity (#39417) 2020-08-30 09:01:19 -05:00
springstan 4294d10789
Format sharkiq with black (#39422) 2020-08-30 08:56:59 -05:00
springstan be489e83a1
Update speedtestdotnet to use CoordinatorEntity (#39404) 2020-08-30 08:50:33 -05:00
Chris Talkington 5dfb043896
update nzbget to use CoordinatorEntity (#39406) 2020-08-30 08:47:28 -05:00
Paulus Schoutsen 5a7f1d62c1
CoordinatorEntity to call super added_to_hass (#39416) 2020-08-30 08:42:33 -05:00
Andrew Marks 3d1ff5b8d0
Add sharkiq integration for Shark IQ robot vacuums (#38272)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-08-30 15:26:11 +02:00
Paulus Schoutsen ab7b42c022
Google: Recover from an entity raising while serializing query (#39381)
Co-authored-by: Joakim Plate <elupus@ecce.se>
2020-08-30 15:19:56 +02:00
J. Nick Koston 854e33025b
Update nexia to use CoordinatorEntity (#39391)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-08-30 14:57:02 +02:00
springstan b3ec3d0baf
Update atag to use CoordinatorEntity (#39414) 2020-08-30 14:42:45 +02:00
Chris Talkington 108e2ec1ba
Update roku to use CoordinatorEntity (#39405) 2020-08-30 14:42:31 +02:00
springstan 4425c3aea2
Update airly to use CoordinatorEntity (#39413) 2020-08-30 14:41:39 +02:00
J. Nick Koston 0f5733ac59
Update cert_expiry to use CoordinatorEntity (#39397) 2020-08-30 14:41:18 +02:00
J. Nick Koston 21f1875816
Update updater to use CoordinatorEntity (#39396) 2020-08-30 14:40:55 +02:00
J. Nick Koston 2525d319a3
Update nut to use CoordinatorEntity (#39394) 2020-08-30 14:40:26 +02:00
J. Nick Koston 4e876cb473
Update myq to use CoordinatorEntity (#39393) 2020-08-30 14:40:00 +02:00
J. Nick Koston a4f475245c
Update griddy to use CoordinatorEntity (#39392) 2020-08-30 14:39:07 +02:00
J. Nick Koston f7d1cfb625
Update powerwall to use CoordinatorEntity (#39389) 2020-08-30 14:37:11 +02:00
Paulus Schoutsen ba75856f2b
Do not break Alexa sync when encounter bad entity (#39380) 2020-08-30 14:36:00 +02:00
Ville Skyttä b4db9f615d
Fix huawei_lte duplicate device registry identifiers (#39409)
Regression in 3c0f766933

Refs https://github.com/home-assistant/core/pull/38925
2020-08-30 14:27:56 +02:00
springstan c0c6a457bd
Update air_quality to use CoordinatorEntity (#39410) 2020-08-30 14:26:03 +02:00
Maciej Bieniek 0cffba77cf
Add more sensors to the Shelly integration (#39368) 2020-08-30 14:18:35 +02:00
Maciej Bieniek 4aa8b6cad8
Add basic binary_sensor support to Shelly (#39365) 2020-08-30 14:16:41 +02:00
Chris Talkington ef13da5555
Fix marytts sync requests within event loop (#39399) 2020-08-30 06:19:51 -05:00
J. Nick Koston f8712b0e00
Create a CoordinatorEntity class to avoid repating code in integrations (#39388) 2020-08-30 12:02:37 +02:00
Marius 87425d4ab1
Add device_class safety to synology_dsm storage binary_sensors (#39310)
* add device_class: safety to storage binary_sensors

* Update binary_sensor.py

* Update homeassistant/components/synology_dsm/binary_sensor.py

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

* Update binary_sensor.py

* Import device_class Safety

from homeassistant.components.binary_sensor

* Update binary_sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-08-30 11:08:57 +02:00
J. Nick Koston dda4cf4d58
Tune logbook performance to accomodate recent changes (#39348) 2020-08-30 09:20:31 +02:00
Jeff Irion ad0d3b4848
Improve handling of exceptions in Android TV (#39229)
* Close the ADB connection when there is an exception

* Add a test

* Split a comment onto two lines

* Fix test ('async_update' -> 'async_update_entity')

* 'close' -> 'Close'
2020-08-29 21:56:25 -05:00
HomeAssistant Azure 904f5c4346 [ci skip] Translation update 2020-08-30 00:03:17 +00:00
Franck Nijhof 800cf6c8c0
Revert "Support selecting http vs https protocols for qvrpro (#38951)" (#39385)
This reverts commit 526c418e1e.
2020-08-29 17:45:54 -05:00
Anders Melchiorsen 79252c06b2
Upgrade eternalegypt to 0.0.12 (#39386) 2020-08-30 00:43:09 +02:00
Eugene Prystupa 867d5088e3
Fix bond fan.turn_on with OFF speed (#39387) 2020-08-29 17:03:19 -05:00
Chris Talkington 7469f57a7b
Add config flow to nzbget (#38938)
* work on config flow

* Update test_init.py

* work on config flow

* Update test_config_flow.py

* Update test_config_flow.py

* Update __init__.py

* Update test_config_flow.py

* Update __init__.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Apply suggestions from code review

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

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update config_flow.py

* Update __init__.py

* Update __init__.py

* Create coordinator.py

* Update __init__.py

* Update sensor.py

* Update __init__.py

* Update .coveragerc

* Update coordinator.py

* Update __init__.py

* Update coordinator.py

* Update __init__.py

* Update coordinator.py

* Update config_flow.py

* Update __init__.py

* Update coordinator.py

* Update __init__.py

* Update test_config_flow.py

* Update coordinator.py

* Update test_config_flow.py

* Update test_init.py

* Update homeassistant/components/nzbget/coordinator.py

* Update test_config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-29 16:47:00 -05:00
J. Nick Koston 54ef16f01a
Reload notify platforms concurrently with asyncio.gather (#39384) 2020-08-29 22:23:57 +02:00
Xiaonan Shen 22a123fd4b
Support acpartner in aqara discovery (#37926) 2020-08-29 11:34:25 -05:00
Berni Moses a9b611d3ed
Bump python-temescal to 0.3 for lg_soundbar (#39379) 2020-08-29 16:22:37 +02:00
Paulus Schoutsen 8302a7879e
Catch bad devices when Google Sync (#39377) 2020-08-29 13:09:50 +02:00
Ville Skyttä 6ae9399237
Upgrade isort to 5.4.2 (#37939) 2020-08-29 08:23:55 +02:00
Ville Skyttä 1bf2c4d976
Upgrade pylint to 2.6.0 (#39363) 2020-08-29 07:59:24 +02:00
pbalogh77 6348f130bc
Add basic lock support for fibaro (#38962)
Added very basic support for locks in the Fibaro integration.
2020-08-28 21:16:02 -05:00
HomeAssistant Azure 989a040b67 [ci skip] Translation update 2020-08-29 00:03:59 +00:00
Aaron Godfrey 16ad8cf720
Fix todoist calendar events (#39197)
Updated the calendar event dict to contain a `summary` key so that the
title will display on the calendar panel.  Also update the start/end
date to not include time information if the event is all day so that it
renders as an all day event on the calendar panel.
2020-08-28 16:43:40 -05:00
cgtobi 755ddf1a94
Add Netatmo camera light service (#39354)
* Add camera light service

* Move service to camera

* Review
2020-08-28 16:09:07 -05:00
Daniel Shokouhi d587f134ca
Reload mobile app notify service upon device name change, add device name to all webhook logs (#39364)
* Add device name to all webhook logs to help with multiple devices

* Reload notifications when we update the registration, update from rebase

* Make hassfest happy

* Adjust caplog test to accomodate log message change

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-28 15:13:43 -05:00
Diogo Gomes c163d4a4b5
bump pymediaroom (#39360) 2020-08-28 15:12:42 -05:00
Teemu R 94c474eab2
Add missing status mappings for xiaomi_miio (#39357) 2020-08-28 15:09:46 -05:00
Rob Bierbooms 5658a1efec
Increase test coverage for rfxtrx integration (#39340)
* Increase switch coverage

* Increase binary sensor coverage

* Final improvements

* Remove debug statement

* Adjust test duplicate cover

* Remove None return test

* Assert on length of conf_entries

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

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-08-28 15:05:11 -05:00
Phil Bruckner b315df2118
Reduce automation state changes by using script helper's last_triggered attribute (#39323) 2020-08-28 14:51:15 -05:00
J. Nick Koston 92c06f0818
Ensure mobile_app notifications get re-registered after adding,removing,adding (#39362) 2020-08-28 14:08:09 -05:00
Phil Bruckner a99efcb5c2
Fix sun integration vulnerability to sudden large clock changes (#39335)
* Fix sun integration vulnerability to sudden large clock changes

* Fix update_sun_position as well
2020-08-28 13:09:43 -05:00
J. Nick Koston 57848cdf35
Add the ability to reload ping platforms from yaml (#39344) 2020-08-28 12:40:30 -05:00
J. Nick Koston 85869be2d8
Unregister mobile_app notification services when a device is removed (#39359) 2020-08-28 12:37:19 -05:00
Anna Tikhomirova 33a05541a4
Simplify mobile app debugging by adding sender device name (#38518)
* Simplify mobile app debugging by adding sender device name.

* Reformatted webhook.py with black
2020-08-28 12:36:59 -05:00
J. Nick Koston 3377f6b12a
Register mobile_app notification services when a new device is added (#39356)
* Register mobile_app notification services when a new device is added

* targets and base service use their own patterns to generate the name
2020-08-28 12:18:02 -05:00
Paulus Schoutsen 4b8217777e
Add basic light and sensor support to Shelly (#39288)
* Add basic light platform

* Add sensor support

* Bump aioshelly to 0.2.1

* Lint

* Use UNIT_PERCENTAGE

Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>

* Format sensor.py

Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
2020-08-28 17:33:34 +02:00
Jin 4b5d0915a9
Add support for hmi208(xiaomi plug BLE) (#39306)
As this plug has already been supported in [python-miio v5.1](https://github.com/rytilahti/python-miio/releases/tag/0.5.1).
Changes towards xiaomi-miio made for fully supporting this device in HA.
2020-08-28 17:24:14 +02:00
J. Nick Koston d2195e2b37
Add support for reloading min_max from yaml (#39327)
* Add support for reloading min_max from yaml

* git add
2020-08-28 10:23:19 -05:00
Phil Bruckner e6141ae558
Add description of what caused an automation trigger to fire (#39251)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-28 17:02:12 +02:00
Paulus Schoutsen 5217139e0b
Allow exposing domains in cloud (#39216) 2020-08-28 16:49:17 +02:00
J. Nick Koston 414a59ae9f
Add the ability to reload homekit from yaml (#39326) 2020-08-28 16:46:45 +02:00
J. Nick Koston 400741006b
Add the ability to reload generic platforms from yaml (#39289) 2020-08-28 16:44:51 +02:00
J. Nick Koston 2109444ba5
Update time triggers to use async_track_state_change_event (#39338)
This was one of the ones missed in the
async_track_state_change to
async_track_state_change_event conversion.
2020-08-28 16:32:05 +02:00