Commit Graph

15971 Commits (925e26b0618247b6eccc5a0fedc6afa2ed9d2a58)

Author SHA1 Message Date
Robert Svensson 6cc947abbf
deCONZ - Add Hue dimmer gen1 (rwl020) support to device triggers(#28450) 2019-11-01 23:06:29 +01:00
jjlawren 21d48218aa Use server-specific unique_ids for Plex media_players (#28447) 2019-11-01 22:41:26 +01:00
Robert Svensson 557e585e56
deCONZ - Support creating battery sensor when reported (#27538) 2019-11-01 22:31:22 +01:00
Robert Svensson 62b09580c4
deCONZ - Add Xiaomi Aqara Cube device trigger support (#27548)
* Add Xiaomi Aqara Cube device trigger support
2019-11-01 22:29:34 +01:00
Santobert 07b7d514ac Add improved scene support to the water_heater integration (#28277) 2019-11-01 13:37:34 -07:00
Santobert 12f1a8f551 Add improved scene support to the alarm_control_panel integration (#28269)
* Add improved scene support to the alarm_control_panel integration

* Add service description for alarm_arm_custom_bypass
2019-11-01 13:36:18 -07:00
SukramJ 1fb377e61e Use defined device class constants for Homematic (#28438)
* Use defined device classes for Homematic

* Remove not required default None

* Missed on None
2019-11-01 21:25:33 +01:00
phispi f8d779e840 Prevent TypeError when KNX RGB(W) light value contains None (#28358)
* Prevent TypeError when KNX RGB(W) light value contains None.

* Pylint doesn't like 'w' as variable name, therefore using 'white' instead.

* Simplified code as suggested by pvizeli.
2019-11-01 21:23:23 +01:00
John Mihalic 44879b323e Bump pyEight library to 0.1.2 to update API URL (#28413) 2019-11-01 18:40:35 +01:00
Robin Pronk c7d72f55e9 SNMP switch fix integer support (#28425) 2019-11-01 15:38:13 +01:00
Fabian Affolter 07337badcd Upgrade pysnmp to 4.4.12 (#28428) 2019-11-01 14:28:38 +01:00
Michael Schoonmaker 6f24d2bb3b Add a Services YAML for the Dominos integration (#27289) (#28339) 2019-11-01 14:27:26 +01:00
Fabian Affolter 72a17d4c67 Upgrade thingspeak to 1.0.0 (#28424) 2019-11-01 13:09:45 +01:00
HomeAssistant Azure bb6a617a6f [ci skip] Translation update 2019-11-01 00:32:13 +00:00
Daniyar Yeralin 54361342ba Introduce SUPPORT_COLOR_TEMP for flux_led component (#26692)
* Introduce SUPPORT_COLOR_TEMP for flux_led component

* Make black linter happy

* Remove duplicate SUPPORT_COLOR_TEMP

* Make linter happy
2019-11-01 00:15:20 +01:00
Malte Franken d200c2dca2 fix feedreader handling unrecognized published date (#28225) 2019-10-31 21:05:42 +01:00
escoand 82729bef70 Show all UPNP/IGD sensors in one device (#27517)
* show all UPNP/IGD sensors in one device

* use device name correctly

* Use id of device
2019-10-31 20:51:35 +01:00
thoscut ec373d90c1 Add file list to attributes of folder sensor (#28338) 2019-10-31 20:49:33 +01:00
gngj b74711793e Fill services.yaml for squeezebox (#28247)
* fill services.yaml for squeezebox

* Minor fix
2019-10-31 20:32:05 +01:00
Nikolay Vasilchuk abbf6595bb Fix (#28369) 2019-10-31 12:07:07 -07:00
Tsvi Mostovicz 674860e00e Fix hdate spamming homeassistant log (#28392)
* Fix hdate spamming homeassistant log

* Lower verbosity of another spammy message
2019-10-31 11:16:27 -07:00
ZiroNL 5854eef47b Add services.yaml to onvif component (#28349) 2019-10-31 18:57:00 +01:00
Robert Van Gorkom 226b2bc3d0 Update withings-api to avoid data parsing bugs. (#28382) 2019-10-31 18:29:10 +01:00
Alexei Chetroi 89213a4ce8
Don't set entity_id in ZHA entities (#28362)
* Don't set entity_id on ZHA entities.
* Update tests.
* Use comma as separator for multiple channel names.
* Address PR comments.
2019-10-31 12:31:06 -04:00
Maciej Bieniek d133501735 Fix Airly asyncio timeout error (#28387)
* Raise ConfigEntryNotReady

* Better asyncio.TimeoutError handling

* Sort imports

* Increase asyncio timeout
2019-10-31 09:29:27 -07:00
ochlocracy ff5b070f4b Implement Alexa.SeekController Interface for media_player in Alexa (#28299)
* Implement Alexa.SeekController Interface for Alexa

* Added error handling and duration checks.

* Split out media_player SeekController tests and added error test.
2019-10-31 10:38:44 +01:00
gngj bfe4a85e9d Fill services.yaml for duckdns (#28248)
* Fill services.yaml for duckdns

* Apply suggestions from code review

Co-Authored-By: Fabian Affolter <mail@fabian-affolter.ch>
2019-10-31 09:51:15 +01:00
Mark Coombes e11c9d710c Add modelnumber for ecobee4 (#28278) 2019-10-31 09:49:38 +01:00
Santobert 89df821113 Flux log with debug instead of info (#28352) 2019-10-31 09:41:44 +01:00
fredericvl ef92c5672d Bump pysaj to v0.0.13 (fix for sensor date) (#28351) 2019-10-31 09:39:27 +01:00
Steve M d3750401c1 Bump env_canada to fixed 0.0.29 version (#28360)
* Bump env_canada to fixed 0.0.29 version

* bump env_canada to 0.29
2019-10-31 09:38:53 +01:00
HomeAssistant Azure ee24710524 [ci skip] Translation update 2019-10-31 00:32:14 +00:00
Erik Montnemery 8ae43d2de3
Add device triggers to cover (#28063)
* Add device triggers to cover

* Use numeric_state trigger instead of template trigger

* Tweak translations
2019-10-30 20:49:01 +01:00
Aaron Bach bda3aadbcf
Bump pymyq to 2.0.1 (#28348) 2019-10-30 09:05:13 -06:00
ZiroNL 4350467a00 Add services.yaml to local_file component. (#28330) 2019-10-30 08:36:53 +01:00
springstan f8efc2adc6 Fix KeyError in decora setup (#28279)
* Imported homeassistant.util and slugified address if no name is specified

* Added a custom validator function in case name is not set in config

* Removed logger.debug line only used for testing
2019-10-30 07:57:40 +01:00
HomeAssistant Azure e700384cce [ci skip] Translation update 2019-10-30 00:32:11 +00:00
David Bonnes e1eab214ad
allow multiple heaters per incomfort gateway (#28324)
* add multiple heaters per gateway
* bump client to handle the above
2019-10-29 21:29:39 +00:00
Sebastian Muszynski 6d734a714e Clean up Xiaomi Air Quality Monitor support (cgllc.airmonitor.b1) (#28301)
* Clean up Xiaomi Air Quality Monitor support (cgllc.airmonitor.b1)

* Remove unused variable

* Provide a proper unique_id

* Incorporate review

* Wrap the method that cause the exception

* Undo mistakenly changed file. Fixed in the separate PR.
2019-10-29 22:17:09 +01:00
Renaud Martinet 3a9e3ce857 Add services description for sabnzbd component (#28252) 2019-10-29 15:17:49 -04:00
Bram Kragten 5592eb7709
Updated frontend to 20191025.1 (#28327) 2019-10-29 16:30:33 +01:00
Pascal Vizeli c00b058e53
Cleanup not needed websocket flags for ingress (#28295) 2019-10-29 12:05:05 +01:00
Jonas Janz 502f59977a Add description for arlo.update service (#28270) 2019-10-29 11:02:25 +01:00
Franck Nijhof 756c36171d Bump youtube_dl to 2019.10.29 (#28312) 2019-10-29 09:37:51 +01:00
Paulus Schoutsen 79ac77a93d
Almond integration (#28282)
* Initial Almond integration

* Hassfest

* Update library

* Address comments

* Fix inheritance issue py36

* Remove no longer needed check

* Fix time
2019-10-28 23:47:31 -07:00
Franck Nijhof 04ab20846a Bump black to 19.10b0 (#28310) 2019-10-28 23:32:34 -07:00
Sebastian Muszynski 5b96704c4a Use dict[key] for required config keys (#28304)
* Use dict[key] for required config keys

* Change CONF_NAME too because it has a default
2019-10-29 01:45:22 +01:00
Sebastian Muszynski a0f764cf6d Remove blocking I/O from the event loop (#28305) 2019-10-29 01:44:26 +01:00
HomeAssistant Azure 0e4331e922 [ci skip] Translation update 2019-10-29 00:32:16 +00:00
Josh Bendavid 1e27a1f2b9 Add keyboard_remote trigger on multiple event types and emulate key hold events (#27761)
* convert keyboard_remote to async and add possibility to trigger on multiple event types, as well as emulate key hold events

* update requirements

* cleanup shutdown handling and config handling as well as address other minor comments

* cleanup unused return values and debug message formatting

* move start and stop event listen to separate coroutine plus minor cleanup

* make setup coroutine a function

* fix import order and attribute defined outside of init

* add to codeowners

* update codeowners
2019-10-29 00:59:13 +01:00
Florent Thoumie 0ef99934b7 Add more iaqualink entity properties, fix timeout issues (#28236)
* iaqualink: implement some more entity properties

* Style fixes
2019-10-29 00:42:06 +01:00
Ville Skyttä f88ead597a Type hint improvements (#28260)
* Add and improve core and config_entries type hints

* Complete and improve config_entries type hints

* More entity registry type hints

* Complete helpers.event type hints
2019-10-28 13:36:26 -07:00
Yann Jajkiewicz f7a64019b6 Add support for Somfy Garage door Rollixo IO DiscreteGarageOpenerIOComponent in Tahoma component (#28291) 2019-10-28 11:22:15 -07:00
jjlawren 31dd69196c Bump library to 0.0.3 (#28294) 2019-10-28 10:39:37 -07:00
Pascal Vizeli 335872b54d
Revert "More header cleanup for websocket proxy (#28288)" (#28293)
This reverts commit 7887850505.
2019-10-28 16:54:15 +01:00
Bram Kragten 549e8cf2c5 Hue: Create new config flow when auth is lost (#28204)
* Hue: Create new config flow when auth is lost

* Fix tests

* Fix tests

* Comments

* Lint
2019-10-28 08:45:08 -07:00
Eliseo Martelli 30f4ee121a Remove GTT component (#28286)
* removed GTT component

* Removed gtt.py from coveragerc
2019-10-28 14:54:42 +01:00
Sören c1d88dd7a4 Bump avea to 1.4 (#28287)
* Bump avea to 1.4

* Bump avea to 1.4 #2
2019-10-28 14:47:04 +01:00
Pascal Vizeli 7887850505
More header cleanup for websocket proxy (#28288) 2019-10-28 14:34:13 +01:00
J.P. Hutchins 54342d2a4e Add transmission info about torrents that is accessible with templating (#27111)
* Add information about current downloads.

* Cleanup: add "Torrent Info" state attribute

* Add username to codeowners

* Rename state_attributes - device_state_attributes.

* Fix snakecase keys, use f-strings, remove redundant method.

* Access started_torrent_dict directly

* Add return None condition

* Remove redundancy.

* Add missing comma in codeowners list.

* Add missing @ to username.

* Update CODEOWNERS with script.hassfest.

* Remove transmission_downloading, give started_torrents the info.

* Confirm changes.

* Actually approve changes.

* Resolve conflicts.

* Remove leftovers from old torrent_info sensor.

* Remove get_started_torrent_info method.

Old method to display boolean for the removed torrent_info sensor.
2019-10-28 10:20:59 +01:00
fwestenberg edcf476408 Add support for Xiaomi Air Quality Monitor (cgllc.airmonitor.b1) (#27735) 2019-10-28 07:43:01 +01:00
HomeAssistant Azure 72dee7dd21 [ci skip] Translation update 2019-10-28 00:32:16 +00:00
SukramJ 75f94b9147 Reorg and test attributes for HomematicIP Cloud (#28234)
* Reorg and test attribute for HomematicIP Cloud

* Add dutyCycle check to security_group

* Edit test to improve coverage

* Add missing flow test

* apply suggestion

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* fix assert condition
2019-10-28 01:03:26 +01:00
ZiroNL 6ac7796fb7 Add charset to imap component. (#28258) 2019-10-27 13:07:44 +01:00
Fabian Affolter a9db2ead33
Suppress traceback (fixes #28243) (#28262) 2019-10-27 12:39:36 +01:00
Fabian Affolter 7e862e4d92
Update praw to 6.4.0 (#27324)
* Update praw to 6.4.0

* Update requirements_test_all.txt

* Fix docstrings

* Update tests
2019-10-27 10:04:43 +01:00
Floris Van der krieken 2747f08385 Add available state to unifiled integration (#28189)
* Added Unifi Led

* fixed manifest

* fixed style issue

* removed unused setting

* added sugested changes.

* fixed order

* fixed settings that are required

* Fix review issues

* fix variable name that was too short

* Testing something

* Reverted to a previous version for testing

* Reverted testing changes.

* Add available status and increase version of unifiled package version.

* No io in init function.
2019-10-27 05:18:23 +01:00
HomeAssistant Azure 868f88a4e0 [ci skip] Translation update 2019-10-27 00:32:10 +00:00
Fabian Affolter bb8f139716 Upgrade speedtest-cli to 2.1.2 (#28216) 2019-10-26 13:45:42 +02:00
Ville Skyttä 2baee4ac3e
Add Huawei LTE mobile data switch support (#28188)
* Add Huawei LTE mobile data switch support

* Remove stale comment

* Do HA state updates in base entity
2019-10-26 13:29:36 +03:00
HomeAssistant Azure 7096826d1d [ci skip] Translation update 2019-10-26 00:32:20 +00:00
Paulus Schoutsen 08cc9fd375
Add cloud account linking support (#28210)
* Add cloud account linking support

* Update account_link.py
2019-10-25 16:04:24 -07:00
Erik Montnemery 475b43500a
Add above and below to sensor condition extra_fields (#27364)
* Add above and below to sensor condition extra_fields

* Change unit_of_measurement to suffix in extra_fields

* Check if sensor has unit when getting capabilities

* Improve tests
2019-10-26 06:55:42 +08:00
ochlocracy d6654eaecb Implement Alexa.PlaybackStateReporter Interface for alexa (#28215) 2019-10-25 14:53:33 -07:00
Erik Montnemery 7fee44b8c5 Add additional device conditions to cover (#27830)
* Add additional device conditions to cover

* Add default value

* Add test

* Use numeric_state condition instead of template condition
2019-10-25 13:50:46 -07:00
ochlocracy d44bfa8e88 Improved Alexa ThermostatController thermostatMode handling (#28176)
* Update ThermostatController to map directives to supported modes and add support for CUSTOM mode.

* Removed erroneous config value from test.

* Removed unnecessary use of a comprehension by dumbing down comment so pylint could comprehend.

* Removed erroneous import variable caused by removing erroneous config value from test.

* Removed unnecessary use of a comprehension.

* Reverted Removal or erroneous import variable and erroneous config value from test.
Apparently need for additional tests outside this component. Whoops.
2019-10-25 13:42:21 -07:00
Erik Montnemery f4341c1546 Fix broken deconz trigger (#28211) 2019-10-25 13:40:05 -07:00
ochlocracy da8a476142 Add support for supportedOperations to Alexa.PlaybackController (#28212)
* Added support for supportedOperations to Alexa.PlaybackController

* Added support for supportedOperations to Alexa.PlaybackController
2019-10-25 13:34:51 -07:00
Markus Pöschl f2d6cc7329 Increased python-eq3bt version to latest (0.1.11) (#28175) 2019-10-25 21:25:27 +02:00
Hayley McIldoon 7ddce1d52b Add device condition support for device_tracker (#28190) 2019-10-25 10:51:35 -07:00
gngj d28f7ab120 Fix microsoft tts (#28199)
* Update pycsspeechtts

From 1.0.2 to 1.0.3 as the old one is using an api that doesn't work

* Give a option to choose region

Api is now region dependent, so gave it a config
2019-10-25 10:42:23 -07:00
Hayley McIldoon 2c914e0c59 Add device condition support for media_player (#28161)
* Add device condition for media_player

* Fix typo in strings
2019-10-25 10:22:39 -07:00
ochlocracy 38428308fc Change Alexa default display category based on media_player device_class (#28191)
* Support default display category based one media_player device_class.

* Support default display category based one media_player device_class.
2019-10-25 10:21:22 -07:00
Bram Kragten 5c8a9c2815 Updated frontend to 20191025.0 (#28208) 2019-10-25 10:20:42 -07:00
Ville Skyttä 3c4caaaefc
Add presentation URL to SSDP discovery info (#28196) 2019-10-25 20:09:18 +03:00
On Freund 0656f0c62b Address post-merge coolmaster config flow code review (#28163)
* Address post-merge code review comments

* Use component path for 3rd party lib
2019-10-25 18:39:16 +02:00
jjlawren 43c7b57d1e Update Plex via websockets (#28158)
* Save client identifier from auth for future use

* Use websocket events to update Plex

* Handle websocket disconnections

* Use aiohttp, shut down socket cleanly

* Bad rebase fix

* Don't connect websocket during config_flow validation, fix tests

* Move websocket handling to external library

* Close websocket session on HA stop

* Use external library, revert unnecessary test change

* Async & lint fixes

* Clean up websocket stopper on entry unload

* Setup websocket in component, pass actual needed object to library
2019-10-25 18:37:50 +02:00
gngj 9153729b21 move hass-frontend import back down (#28203) 2019-10-25 09:02:40 -07:00
guillempages 98cf3f4aa3 [homematic]Add support for HmIP-BSL LEDs (#27307)
With this commit, 3 entities are created for the HmIP-BSL device:
2 lights for the two independent LEDs and 1 switch for the relais
2019-10-25 16:08:11 +02:00
guillempages 6bfb2460f2 [homematic]Pass channel to light color functions (#27306)
The device HmIP-BSL has two independent LEDs on two different channels,
so the channel needs to be explictly specified when setting the color.
2019-10-25 16:06:52 +02:00
escoand 9661efc312 Add Samsung TV automatic protocol detection (#27492)
* added automatic protocol detection

* fix logger tests

* fix async tests

* add missin const.py

* fix log formatting

* wait for first update call

* migrate first tests

* migrated all test functions

* started to use state machine

* updated all tests to use async_setup_component

* slove hints

* update tests

* get state at correct position

* remove impossible tests

* fix autodetect tests

* use caplog fixture

* add test for duplicate

* catch concrete exceptions

* don't mock samsungctl exceptions

* add test for discovery

* get state when possible

* add test for autodetect without connection
2019-10-25 14:32:12 +02:00
HomeAssistant Azure 95295791bd [ci skip] Translation update 2019-10-25 00:32:15 +00:00
Ville Skyttä 643b3a98ee Huawei LTE sensor metadata update (#28187) 2019-10-24 16:42:54 -07:00
SukramJ 32a024c641 Partially revert tensorflow import move (#28184)
* Revert "Refactor imports for tensorflow (#27617)"

This reverts commit 5a83a92390.

* move only some imports to top

* fix lint

* add comments
2019-10-24 16:41:13 -07:00
Joakim Sørensen 67cf7c26da Removes unwanted tradfri battery sensor (#28181) 2019-10-24 23:25:47 +02:00
kennedyshead 98ac8a217d Adding device_class to samsungtv (#28168)
* Adding device_id to samsungtv

* Lint

* Adding test
2019-10-24 13:41:07 -07:00
Diefferson Koderer Môro c96d4c978d Fix tzinfo type for onvif component (#28178) 2019-10-24 13:39:10 -07:00
Joakim Sørensen ec478ab848 Add stop feature to tradfri covers (#28180)
* Tradfri cover enhancements

* tradfri dependency update

* Revert addition of battery attrubite

* Remove the supported_features property

* Remove unwanted file
2019-10-24 13:38:24 -07:00
Otto Winter 322d8c2dd5 Fix ESPHome stacktraces when removing entity and shutting down (#28185) 2019-10-24 13:36:47 -07:00
Joakim Sørensen b61218f90e Tradfri config flow enhancements (#28179) 2019-10-24 21:31:58 +02:00