Commit Graph

23679 Commits (56f0a68c4977bee26d05cb0c0c7e52c665a59623)

Author SHA1 Message Date
Vladimír Záhradník 1d41f024cf
Add Modbus cover (#33642)
* Add Modbus cover

* Fix improper commands written for Modbus cover via coil

* Make changes per review comments

* Fix default hub not defined

Since support for multiple hubs was added, the default hub option
was not implemented correctly. Now I added necessary logic to make
it work. First hub in a list will be used as a default hub.

* Move Cover config under Modbus section

* Revert setting up a default hub alias

* Make hub mandatory for Cover

* Add default scan interval

* Read scan_interval from discovery info

* Fix linter error

* Use default scan interval from Cover platform

* Handle polling for Modbus cover directly inside entity

* Move covers under hub config

* Fix for review comment

* Call update() from Cover actuator methods

* Fix time validation
2020-09-26 11:11:51 -05:00
Felipe Martins Diel 2f4aa35ca6
Bump python-broadlink to 0.15.0 (#39228)
* Rename DeviceOfflineError to NetworkTimeoutError

* Bump python-broadlink to 0.15
2020-09-26 10:46:02 -05:00
SNoof85 6977425d04
Use common strings for Freebox config flow (#40590) 2020-09-26 10:27:18 -05:00
Rob Bierbooms 445743930b
Use common strings for monoprice config flow (#40592) 2020-09-26 10:20:19 -05:00
Rob Bierbooms f6435affe9
Use common strings for somfy config flow (#40594) 2020-09-26 13:30:49 +02:00
Franck Nijhof c64eec3238
Add bare hostname as valid known hostname in get_url helper (#40510) 2020-09-26 09:36:03 +02:00
J. Nick Koston 35cfc80dd7
Log the remote ip address for incoming websocket connections when debug is on (#40581) 2020-09-26 09:32:50 +02:00
Joakim Sørensen a42736e437
Allow non-authenticated calls to snapshots during onboarding (#40582) 2020-09-26 09:26:02 +02:00
Joakim Sørensen 4a63b83caa
Add installation type to discovery endpoint (#40585) 2020-09-26 09:17:04 +02:00
Erik Montnemery 4cb118ca29
Bump pychromecast to 7.4.1 (#40587)
* Bump pychromecast to 7.4.0

* Bump pychromecast to 7.4.1
2020-09-26 09:15:09 +02:00
Daniel Kucera 6ddc6a44a2
Throttle ebusd sensors instead of the whole component (#40610) 2020-09-26 09:11:32 +02:00
Franck Nijhof 9cd8f66e14
Upgrade spotipy to 2.16.0 (#40606) 2020-09-26 08:21:12 +02:00
J. Nick Koston b3b9c52df2
Add device info to gogogate2 (#40538) 2020-09-25 22:28:59 -05:00
HomeAssistant Azure c3afe39ea0 [ci skip] Translation update 2020-09-26 00:05:34 +00:00
Alexei Chetroi f09f7feb94
Update schema for zha.set_zigbee_cluster_attribute service (#40600) 2020-09-25 18:36:55 -04:00
Robert Svensson 203c556ba3
Improve tracking of existing entities in deconz (#40265)
* Store all entities in dict

* Use stored unique id to select if to create entity or not

* Remove unnecessary init

* Change so same physical sensor doesnt try to create multiple battery sensors
Change so groups get created properly

* Add controls in tests that entities are logged correctly
2020-09-25 22:49:28 +02:00
Oliver Acevedo 0c12af347e
Add Omnilogic integration (#40474)
* Scaffold

* Added the en translation

* Modified the name

* Basic functionality for config flow.

* Pulled in enough to validate config flow works.

* Update manifest.json

* initial data polling (water and air temp sensors)

* Adding sensors, debugging update function

* polling updates working

* support for new data format from library

* Updated entity_id, friendly name, conversion for ppm, attributes for hayward display units, MSPSystemID and component systemID

* Fixed errors for PR

* clean up

* Add login exc, check if configured, test login.

* Remove debug print.

* Black formatting, ran isort, update requirements.

* Updated w isort. fix flake8 failures.

* Fix flake8 errors

* Fixed self.attrs to remove invalid self._ values - small change

* Missed on small change - fixing attributes

* Updated naming, updated unit of measure, updated icon, bumped omnilog…

* Updated to fix flake8 issues in __init__.py and config_flow.py

* Updated test_config_flow.py to pass, updated config_flow.py to correct errors in test

* Remove comments in preparation for PR

* update .covezragerc

* Formatting fix

* Rewrote sensors to dynamically add all BOWs, pumps, clorinators. Still to do - add CSAD sensors.

* Rewrote sensors to dynamically add all BOWs, pumps, clorinators. Still to do - add CSAD sensors.

* Added CSAD sensors for pools that have them.

* Added CSAD sensors for pools that have them.

* Fixed CSAD to not create if blank or don't exist, removed broad except usage to pass linting.

* Updated entity naming convention. Fixed linting issues.

* Added device association to the back yard / omnilogic system

* Removed .0 from ppm values when returning imperial values for salt sensor

* Updated to return state = None for water temp when pump is off, handled Chlorinator operatingMode = 2, and added PlatformNotReady check

* Corrected exception from Omnilogic library

* Bumped omnilogic to 0.3.7. Added alarm sensor/data to sensors. Handle pump off condition for ph and orp sensors.

* Bumped omnilogic to 0.3.7. Added alarm sensor/data to sensors. Handle pump off condition for ph and orp sensors.

* Bumped omnilogic to 0.3.7. Added alarm sensor/data to sensors. Handle pump off condition for ph and orp sensors.

* Removed nested_lookup dependency, bumped omnilogic.py to 0.3.8.

* Fixed lint error

* Added logging for sensor creation.

* Fixed linting errors with logging.

* Fixed explicit chaining of raised error. Fixed issue with alarm sensor.

* Fixed manifest.json based on feedback.

* Fixed self.attrs, should_poll, CoordinatorEntity, SCAN_INTERVAL from comments in PR.

* Addressed unique_id, moved data update coordinator, addressed minor other issues from testing

* Created main OmniLogic entity for common items, reworked DataUpdateCoordinator to it's own class.

* Addressed config_schema not used in __init__.py

* Fixed linting issues.

* Addressed several comments, still todo - separate sensor classes.

* Split the Omnilogic Sensors into separate logical classes for simpler logic.

* Fixed snake case lint error for AddAlarms (to add_alarms)

* Addressed config_flow issues from comments.

* Changed addressed ConfigNotReady issue from comments.

* Updated strings.json and generated corrected en.json with translations.

* Updated en.json to standard generated file.

* Added config_flow tests and updated issue with config_flow on cannot_connect

* Added test case for incomplete information entered.

* Compressed logic in the sensor classes to reduce duplication.

* Updated strings.json for polling_interval, added generic exception handling on config flow.

* Removed omnilogic from the .coveragerc omit file.

* Updated test_config_flow to follow recommended pattern.

* Excluded sensor.py from test coverage tests.

* Corected minor issues in test_config_flow from comments

* Fixed linting issues on last commits

* Fixed linting issues.

* Corrected issue when temp state is not available from Omnilogic

* Added omnililogic_common.py from .coveragerc to bypass test coverage check.

* Return false on Login Exception, handle OmniLogicException in config_flow and in tests.

* Handle all exceptions and in config_flow and tests, clarified test naming.

* Broke out test cases per comments.

* Regenerated en.json file.

* Addressed changes from comments in PR.

* Added session and bumped API to 0.4.0, addressed other comments from PR.

* Addressed entitydata (missed earlier).

* Fixed pylint issue

* Added test case for options flow in test_config_flow.py

* Removed super() and used self when calling methods in current class.

* Addressed comments in PR.

* Addressed comments in PR.

* Updated translations file.

* Rewrote data coordinator to output dict for easy searching.

* Updated chlorinator unit when chlorinator is on/off only

* Scaffold

* Added the en translation

* Modified the name

* Basic functionality for config flow.

* Pulled in enough to validate config flow works.

* Update manifest.json

* initial data polling (water and air temp sensors)

* Adding sensors, debugging update function

* polling updates working

* support for new data format from library

* Updated entity_id, friendly name, conversion for ppm, attributes for hayward display units, MSPSystemID and component systemID

* Fixed errors for PR

* clean up

* Add login exc, check if configured, test login.

* Remove debug print.

* Black formatting, ran isort, update requirements.

* Updated w isort. fix flake8 failures.

* Fix flake8 errors

* Fixed self.attrs to remove invalid self._ values - small change

* Missed on small change - fixing attributes

* Updated naming, updated unit of measure, updated icon, bumped omnilog…

* Updated to fix flake8 issues in __init__.py and config_flow.py

* Updated test_config_flow.py to pass, updated config_flow.py to correct errors in test

* Remove comments in preparation for PR

* update .covezragerc

* Formatting fix

* Rewrote sensors to dynamically add all BOWs, pumps, clorinators. Still to do - add CSAD sensors.

* Rewrote sensors to dynamically add all BOWs, pumps, clorinators. Still to do - add CSAD sensors.

* Added CSAD sensors for pools that have them.

* Added CSAD sensors for pools that have them.

* Fixed CSAD to not create if blank or don't exist, removed broad except usage to pass linting.

* Updated entity naming convention. Fixed linting issues.

* Added device association to the back yard / omnilogic system

* Removed .0 from ppm values when returning imperial values for salt sensor

* Updated to return state = None for water temp when pump is off, handled Chlorinator operatingMode = 2, and added PlatformNotReady check

* Corrected exception from Omnilogic library

* Bumped omnilogic to 0.3.7. Added alarm sensor/data to sensors. Handle pump off condition for ph and orp sensors.

* Bumped omnilogic to 0.3.7. Added alarm sensor/data to sensors. Handle pump off condition for ph and orp sensors.

* Bumped omnilogic to 0.3.7. Added alarm sensor/data to sensors. Handle pump off condition for ph and orp sensors.

* Removed nested_lookup dependency, bumped omnilogic.py to 0.3.8.

* Fixed lint error

* Added logging for sensor creation.

* Fixed linting errors with logging.

* Fixed explicit chaining of raised error. Fixed issue with alarm sensor.

* Fixed manifest.json based on feedback.

* Fixed self.attrs, should_poll, CoordinatorEntity, SCAN_INTERVAL from comments in PR.

* Addressed unique_id, moved data update coordinator, addressed minor other issues from testing

* Created main OmniLogic entity for common items, reworked DataUpdateCoordinator to it's own class.

* Addressed config_schema not used in __init__.py

* Fixed linting issues.

* Addressed several comments, still todo - separate sensor classes.

* Split the Omnilogic Sensors into separate logical classes for simpler logic.

* Fixed snake case lint error for AddAlarms (to add_alarms)

* Addressed config_flow issues from comments.

* Changed addressed ConfigNotReady issue from comments.

* Updated strings.json and generated corrected en.json with translations.

* Updated en.json to standard generated file.

* Added config_flow tests and updated issue with config_flow on cannot_connect

* Added test case for incomplete information entered.

* Compressed logic in the sensor classes to reduce duplication.

* Updated strings.json for polling_interval, added generic exception handling on config flow.

* Removed omnilogic from the .coveragerc omit file.

* Updated test_config_flow to follow recommended pattern.

* Excluded sensor.py from test coverage tests.

* Corected minor issues in test_config_flow from comments

* Fixed linting issues on last commits

* Fixed linting issues.

* Corrected issue when temp state is not available from Omnilogic

* Added omnililogic_common.py from .coveragerc to bypass test coverage check.

* Return false on Login Exception, handle OmniLogicException in config_flow and in tests.

* Handle all exceptions and in config_flow and tests, clarified test naming.

* Broke out test cases per comments.

* Regenerated en.json file.

* Addressed changes from comments in PR.

* Added session and bumped API to 0.4.0, addressed other comments from PR.

* Addressed entitydata (missed earlier).

* Fixed pylint issue

* Added test case for options flow in test_config_flow.py

* Removed super() and used self when calling methods in current class.

* Addressed comments in PR.

* Addressed comments in PR.

* Updated translations file.

* Rewrote data coordinator to output dict for easy searching.

* Updated chlorinator unit when chlorinator is on/off only

* Fixed ORP method not being @property, fixed unique_id potential issue. Does not address comments from PR.

* Rewrote coordinator for updated dict structure, rewrote sensors to parse new data structure.

* Added alarms as attributes on all entities which support alarm reporting.

* Updated SENSOR_TYPES to sensor_types to adhere to snake case in pylint.

* Addressed PR comments.

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/sensor.py

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

* Removed binary sensor conditions (alarms, on/off sensor types) and added ability for multiple guard conditions

* Update homeassistant/components/omnilogic/sensor.py

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

* Updated per comments in PR for Pump Type and removal of force_update().

* Update homeassistant/components/omnilogic/sensor.py

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

* Update homeassistant/components/omnilogic/common.py

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

* Correctly asserting conditions for the login exception case.

* Update .coveragerc

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

Co-authored-by: Mike Hershberger <mike.hershberger@gmail.com>
Co-authored-by: Chad <54695185+chadlyy@users.noreply.github.com>
Co-authored-by: Tim Empringham <tim.empringham@live.ca>
Co-authored-by: djtimca <60706061+djtimca@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-25 17:55:10 +02:00
Angelo Gagliano 318096be79
Remove auto from the fan speed modes for VeSync (#40559) 2020-09-25 15:12:47 +02:00
Joakim Plate 0fbeb3bf7b
Use HA constants for Rfxtrx units (#40562)
* Add more units and device classes

* Battery level is a value beteen 0 and 9 where 9 indicate full

Actual 0 battery can't occur since since then we would get to signal

* Adjust tests

* Add wind direction and adjust rain rate

* Adjust data types to be None rather than empty string

* Set counter values to count unit

* Forgotten unit
2020-09-25 08:27:38 -04:00
Bouwe Westerdijk b6aa29012e
Bump Plugwise-Smile to v1.5.1 (#40572) 2020-09-25 13:18:21 +02:00
Daniel Hjelseth Høyer 82c61fb6a7
Upgrade Tibber library to 0.15.3 (#40570) 2020-09-25 10:05:01 +02:00
Joakim Sørensen 2d429ea678
Add modifications for snapshot uploads (#40503)
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-09-25 10:02:26 +02:00
Kevin Cathcart 371b589cb2
Fix bug in state trigger when using for: without to: (#40556) 2020-09-25 09:15:04 +02:00
cagnulein 4287694b42
Fix luci device_tracker when release is none (#40524)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-25 09:06:24 +02:00
Martin Eberhardt 700b119482
Add @darkfox as Rejseplanen code owner (#40329) 2020-09-25 07:48:08 +02:00
Ari Simonen fd05a7232a
Improve handling of sources without a name in Denon (#40514) 2020-09-25 07:46:57 +02:00
HomeAssistant Azure c30982c981 [ci skip] Translation update 2020-09-25 00:04:29 +00:00
Aaron Bach ebdb34a911
Bump simplisafe-python to 9.3.3 (#40560) 2020-09-24 16:19:25 -06:00
Aaron Bach f82ca44aac
Bump pyairvisual to 5.0.2 (#40554)
* Bump pyairvisual to 5.0.2

* Fix tests
2020-09-24 15:31:47 -06:00
Rob Bierbooms 0856c7292c
Fix connection validation during import for dsmr integration (#40548)
* Close transport when equipment identifier is received

* Minor fix
2020-09-24 22:50:30 +02:00
Bram Kragten 6afa197586
Updated frontend to 20200918.2 (#40549) 2020-09-24 22:43:34 +02:00
Dermot Duffy 0a656f13eb
Fix/Refactor Hyperion Integration (#39738) 2020-09-24 21:37:34 +02:00
Ville Skyttä e06f2a89ea
Add Huawei LTE SMS storage full and unread sensors (#40021) 2020-09-24 20:18:55 +03:00
Steven Looman c3b6675617
Increase upnp timeout from 5 seconds to 10 seconds (#40540) 2020-09-24 11:27:55 -05:00
Guido Schmitz 0b11559031
Improve devolo Home Control code quality (#40480)
Co-authored-by: Markus Bong <2Fake1987@gmail.com>
2020-09-24 10:57:52 -05:00
epenet 73f29a6cd4
Ensure consitstency of file docstring for 1-wire (#40528) 2020-09-24 16:39:24 +02:00
epenet 49be073002
Update constant name for onewire (#40530) 2020-09-24 16:37:15 +02:00
Ville Skyttä e3f9818af5
Add more Huawei LTE sensor metadata (#39988) 2020-09-24 17:32:44 +03:00
uvjustin 8e0bb92c79
Disable audio in stream when audio stream profile is None (#40521) 2020-09-24 14:35:52 +02:00
Franck Nijhof ebe3b5bfff
Upgrade sentry-sdk to 0.17.8 (#40531) 2020-09-24 14:10:14 +02:00
Eugene Prystupa 7a337ac6fb
Fix Bond error logging format (#40519) 2020-09-23 21:40:38 -05:00
Chris Talkington 4b58b8057d
Update sonarr to 0.3.0 (#40515) 2020-09-24 02:29:37 +02:00
jjlawren d694c1f548
Bump plexapi to 4.1.1 (#40512) 2020-09-23 19:26:05 -05:00
HomeAssistant Azure c77c0e4780 [ci skip] Translation update 2020-09-24 00:05:22 +00:00
springstan 62054b8433
Correct label in mqtt config flow (#40507) 2020-09-23 21:55:33 +02:00
J. Nick Koston 3880ac0b0d
Ensure group state is recalculated when re-adding on reload (#40497) 2020-09-23 20:55:32 +02:00
springstan 6c8e0e20fb
Add and use light lux constant in entire code base (#40171) 2020-09-23 20:48:01 +02:00
springstan 6a7caad8dc
Use content type json constant (#40312) 2020-09-23 20:21:55 +02:00
Philip Allgaier 9c1eb78a0f
Adjust safe_theme for better readability (#40223) 2020-09-23 18:57:35 +02:00
Tomasz 223000a9fb
Add all supported languages to OpenWeatherMap (#40448) 2020-09-23 17:57:06 +02:00
nagyrobi 9f5cd5547b
Support all available languages in voicerss integration (#40502) 2020-09-23 17:56:23 +02:00
Martin Hjelmare 27c5594cda
Add supervisor add-on stop helper (#40501) 2020-09-23 17:54:07 +02:00
Martin Hjelmare ccff7f97cb
Add supervisor helper to start add-on (#40495) 2020-09-23 17:05:28 +02:00
Franck Nijhof 784af5ad10
Upgrade sentry-sdk to 0.17.7 (#40492) 2020-09-23 16:44:25 +02:00
jan iversen c7f48e9ea3
Make modbus switch read_coil failure resistent (#40417)
* Make modbus switch read_coil failure resistent.

Make sure all return paths return true/false.

* Add comment how binary_sensor get its value (is_on).
2020-09-23 08:50:01 -05:00
Franck Nijhof 7c61caf68e
Revert "Support learning different command types with remote" (#40486)
This reverts commit c6a48d3b61.
2020-09-23 12:39:27 +02:00
springstan c2d20c548f
Use content type multipart constant (#40314) 2020-09-23 11:29:56 +02:00
Anders Melchiorsen 7876cdb37a
Fix handling of quoted time_pattern values (#40470)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-09-23 09:21:57 +02:00
Felipe Martins Diel c6a48d3b61
Support learning different command types with remote (#39670) 2020-09-22 22:09:19 -05:00
lamiskin 5ebce075a1
Improve DOODS folder handling and add process time attribute (#40344)
* Updates to DOODS

* Fix import order
2020-09-22 21:43:21 -05:00
Marvin Wichmann 72a7f69a08
Update xknx to version 0.14.4 (#40472) 2020-09-22 21:10:37 -05:00
springstan 06a133c3e9
Add and use length millimeters constant (#40116)
* Add and use length millimeters constant

* Fix pylint error

* Fix broken accuweather sensor test
2020-09-22 21:09:17 -05:00
Markus Haack 511ea09c99
Guard SolarEdge for inverters without batteries (#40295) 2020-09-22 21:04:01 -05:00
HomeAssistant Azure 75659ff787 [ci skip] Translation update 2020-09-23 00:05:01 +00:00
Robert Van Gorkom a40d853682
Increase gogogate2 request timeout (#40461) 2020-09-22 18:00:27 -05:00
Robert Svensson fb7fb0ea78
deCONZ - move event handling (#40424)
* Working draft

* Remove event references in sensor
2020-09-22 19:55:10 +02:00
Tom Schneider 6e8e4eedb5
Add binary_sensor for elevator states to hvv_departures (#36822)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-22 17:42:50 +02:00
Maciej Bieniek 0400754270
Bump accuweather library to version 0.0.11 (#40458) 2020-09-22 17:36:44 +02:00
square99 1ed8e41e90
Fix proxy camera conversion with PNG Alpha(RGBA) (#40446) 2020-09-22 17:34:23 +02:00
J. Nick Koston f837da6fe3
Defer template tracking setup until template entity start (#40388) 2020-09-22 09:28:02 -05:00
J. Nick Koston 7029345b9d
Add support for selecting multiple entity ids from logbook (#40075) 2020-09-22 09:27:04 -05:00
J. Nick Koston f0f817c361
Serialize websocket event message once (#40453)
Since most of the json serialize work for the websocket was done
multiple times for the same message, we can avoid the overhead
of serializing the same message many times (once per websocket
client) with a cache.
2020-09-22 08:47:04 -05:00
Marvin Wichmann d82b97fbe1
Update xknx to 0.14.3 (#40430) 2020-09-22 15:35:44 +02:00
Adam Belebczuk 02a19d0123
Bump pywemo to 0.5.0 (#40439) 2020-09-22 11:24:22 +02:00
MeIchthys 2f9afd3a2c
Fix regression in Nextcloud component (#40438) 2020-09-22 10:58:51 +02:00
Robert Svensson 430275ac88
Axis - Fix list applications breaks if empty response (#40360) 2020-09-22 10:57:26 +02:00
cagnulein 8bff25fedd
Fix luci device_tracker incorrectly reporting devices status (#40409) 2020-09-22 10:53:46 +02:00
Pedro Lamas d5741a5ba4
Fix webostv supported features for "external_speaker" sound output (#40435) 2020-09-22 10:49:44 +02:00
Perry Naseck 0582bf7746
Firmata analog input, PWM/analog output, deprecate arduino (#40369)
* firmata analog input

* firmata pwm/analog out, use more HA const

* firmata update pymata to 1.19

* deprecate arduino, firmata supersedes it

* firmata sensor diff min, pull review quality changes

* firmata condense platform setup into loop
2020-09-22 09:44:16 +02:00
Bas Nijholt 50b727ba83
Add PLAY and PAUSE to webos button service description (#40353) 2020-09-22 09:32:09 +02:00
Harrison Pace 8ad7b68c9e
Use Cloud State as alternative state if condition unknown (#37121) 2020-09-22 09:01:58 +02:00
Eugene Prystupa f34455b6c2
Add debug logging to Bond fireplace entity (#40318)
* Add logging to Bond fireplace entity for troubleshooting turn off problem

* Update homeassistant/components/bond/light.py

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

* Update homeassistant/components/bond/light.py

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

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-09-21 21:38:43 -05:00
Brett b3691d5d90
Improve timeout error handling for Splunk (#40384)
* Bugfix to catch asyncio.timeout

* Better asyncio.timeout warning message
2020-09-21 20:01:52 -05:00
HomeAssistant Azure 7c344fa0cd [ci skip] Translation update 2020-09-22 00:07:08 +00:00
Ville Skyttä 5e90a4d000
Use more state attribute name constants (#40428) 2020-09-21 23:03:39 +02:00
Tom Harris f78391ce2a
Bump pyinsteon to 1.0.8 (#40383) 2020-09-21 22:40:29 +02:00
Michael Thingnes bfbaa1e8bb
Validate Met.no forecast entries before passing them on to HA (#40400) 2020-09-21 21:56:08 +02:00
Maciej Bieniek 663245c351
Fix OSError (#40393) 2020-09-21 21:10:02 +02:00
On Freund 447446c565
Fix handling of empty ws port (#40399) 2020-09-21 20:27:00 +02:00
Martin Hjelmare 1d7754f160
Add supervisor add-on uninstall helper (#40413) 2020-09-21 19:25:06 +02:00
MatthewFlamm 31ece55c57
bump pynws to 1.3.0 (#40386) 2020-09-21 19:18:54 +02:00
Marvin Wichmann 3d6434be75
Use centralized KnxEntity for all KNX platforms (#40381) 2020-09-21 18:08:35 +02:00
Robin Wohlers-Reichel c13fbf795d
Update Solax Library to 0.2.4 (#40330) 2020-09-21 17:50:03 +02:00
Philip Allgaier 2a4d7dc561
Update voluptuous to 0.12.0 (#40401) 2020-09-21 10:43:35 -05:00
Julien Tant 8b9c757fdc
Add zodiac integration (#38935)
* add zodiac sign integration

* add tests & refacto

* Apply suggestions from code review

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

* fix indentation from suggested correction, fix quality scale and remove useless functions

* fix code formatting

* Create const.py

* Update sensor.py

* Update const.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update sensor.py

* Update test_sensor.py

* Update __init__.py

* Update sensor.py

* Update test_sensor.py

* Update sensor.py

* Update __init__.py

* Update test_sensor.py

* Update __init__.py

* Fix zodiac time patch

* Delete sensor.fr.json

* Update sensor.py

* Delete sensor.en.json

* Update test_sensor.py

* Apply suggestions from code review

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-21 10:41:30 -05:00
Martin Hjelmare 2ef3dfb673
Fix supervisor get addon info (#40412) 2020-09-21 16:26:09 +02:00
Finbarr Brady 4aa9b72739
Remove myself as Luci code owner (#40398) 2020-09-21 14:10:39 +02:00
Josef Schlehofer 7cebfa75fc
Upgrade youtube_dl to version 2020.09.20 (#40395) 2020-09-21 10:49:16 +02:00
Martin Hjelmare a0df6ccb81
Add supervisor install add-on helper (#40138) 2020-09-21 10:28:24 +02:00
Chris Talkington 37e51aa166
Add reauth source constant for config entries (#40352) 2020-09-20 21:15:48 -05:00
uvjustin 8d3e4b6b3f
Ignore packets with missing dts in peek_first_pts (#40299) 2020-09-20 21:26:24 -04:00
HomeAssistant Azure 587e3f1eb2 [ci skip] Translation update 2020-09-21 00:02:47 +00:00
Chris Talkington 432911c994
Apply code review for canary config flow (#40355)
* apply code review for canary config flow

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update camera.py

* Update camera.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
2020-09-20 17:38:02 -05:00
Michael Thingnes 83b0954e58
Fix Met.no missing conditions in API forecasts (#40373) 2020-09-20 23:56:04 +02:00
Marvin Wichmann 45288431f9
Update xknx to 0.14.2 (#40304)
* Updates xknx to 0.14.0

* Review: Explicity add state attributes to weather device

* Review: Remove state attributes from weather device

* Review: Add `counter` as a state attribute to binary_sensors
2020-09-20 23:40:36 +02:00
Brett 4f5d3b4035
Rebuilt Splunk using custom library (#40123)
* Rebuilt Splunk using splunk_data_sender

* Fixing lint issues

* Apply suggestions from code review

Recommended Fixes

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

* Moved to single send queue and fixed ssl verify

* Using coroutine and Asyncio.lock

* Changed to custom library hass_splunk

* Fixed "use_ssl" parameter

* Better error catching

* Better error log

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-20 11:22:43 +02:00
Ville Skyttä 167490b71c
Complete helpers.service type hints (#40193)
* Complete helpers.service type hints

* Update homeassistant/helpers/service.py

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

* Handle None entity.supported_features
2020-09-20 12:03:58 +03:00
HomeAssistant Azure 5dcaeebdac [ci skip] Translation update 2020-09-20 00:05:00 +00:00
Erik Montnemery a50f121011
Get option flow defaults from yaml for non configured MQTT options (#40177) 2020-09-19 22:10:01 +02:00
Alexei Chetroi a9168c04fd
Update ZHA dependencies (#40283) 2020-09-19 12:39:02 -04:00
Chris Talkington 6b317ced17
Update roku media browser classes (#40285)
* update roku media browser classes

this should allow proper icons to be shown vs plain directory

* Update test_media_player.py

* Update browse_media.py

* Update browse_media.py

* Update browse_media.py

* Update browse_media.py

* Update browse_media.py

* Update browse_media.py

* Update test_media_player.py
2020-09-19 18:02:15 +02:00
SukramJ e300cf3747
Add binary_sensor for cloud connectivity to HomematicIP Cloud (#39675)
* Add binary_sensor for cloud connectivity to HomematicIP Cloud

* Fix Test

* Remove device_class

* Switch from _device to _home

* Switch from _device to _home for sensor
2020-09-19 10:59:46 -05:00
springstan b088830382
Add and use currency cent constant (#40261) 2020-09-19 10:34:54 -05:00
springstan 7de1fe7416
Use percentage constant in more integrations (#40165) 2020-09-19 10:30:22 -05:00
Ian Duffy 711ca6aff5
Add kodi browse media for channels (#40277)
* Add kodi browse media for channels

* Rename "TV Channels" to "Channels"
2020-09-19 17:14:20 +02:00
Chris Talkington 0c8b530aa2
Add device info to canary camera and sensors (#40053)
* add device info to canary sensors

* Update test_sensor.py

* Update sensor.py

* Update sensor.py

* Update test_sensor.py

* Create const.py

* Update sensor.py

* Update test_sensor.py

* Update sensor.py

* Update test_sensor.py

* Update camera.py

* Update camera.py

* Update sensor.py

* Update camera.py

* Update camera.py
2020-09-19 10:09:40 -05:00
Rob Bierbooms 467a001e1f
Fix error creating duplicate ConfigEntry upon import for rfxtrx (#40296) 2020-09-19 13:08:14 +02:00
jan iversen 9bd28306f6
Correct modbus switch to return correct coil (#40190) 2020-09-19 12:14:51 +02:00
Tom 5832184304
Add port to plugwise (#40017) 2020-09-19 12:08:16 +02:00
Franck Nijhof b175adae53
Add missing integration quality scale to tags integration (#40291) 2020-09-19 11:49:53 +02:00
Franck Nijhof 399661a7f4
Add missing integration quality scale to image integration (#40289) 2020-09-19 11:48:56 +02:00
springstan e330468a13
Use pressure constants in code base (#40262) 2020-09-19 09:26:08 +02:00
Chris Talkington f563068ce6
Add config flow to canary (#40055)
* Create config_flow.py

* Update config_flow.py

* work on config flow

* Update test_config_flow.py

* Update __init__.py

* Update camera.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update config_flow.py

* Update conftest.py

* Update test_config_flow.py

* Update test_init.py

* Update test_init.py

* Apply suggestions from code review

* Update camera.py

* Update test_init.py

* Update camera.py

* Update __init__.py

* Update test_init.py

* Update test_init.py

* Update __init__.py

* Update __init__.py

* Apply suggestions from code review

* Update __init__.py

* Update test_init.py

* Update __init__.py

* Update __init__.py

* Update config_flow.py

* Update test_config_flow.py

* Update config_flow.py

* Update config_flow.py
2020-09-18 23:22:19 -05:00
Greg Badros 94dfb66824
Make tplink SmartStrip communication more robust (#40281) 2020-09-19 04:48:19 +02:00
twdkeule 052e8f0983
Add Influxdb precision option (#38454) 2020-09-19 04:42:03 +02:00
HomeAssistant Azure 62c4e072f5 [ci skip] Translation update 2020-09-19 00:07:12 +00:00
Daniel Shokouhi cf89b8764b
Bump hangups to 0.4.11 (#40258) 2020-09-18 20:43:36 +02:00
Maikel Punie 1ba098508c
Update velbus to 2.0.45 (#40256) 2020-09-18 20:19:54 +02:00
timkoers 46b86f4a2f
Add UniFi Uptime sensor (#40058)
* Added UniFi Uptime sensor

Added the UniFi uptime data as a sensor. Untested.

* Update sensor.py

Updated code as a result of the tests.

* Changed timestamp format and device class

Converted state to iso timestamp and changed device class to DEVICE_CLASS_TIMESTAMP.

* Updated unit of measurement to None

* Added import

* Update homeassistant/components/unifi/sensor.py

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

* Removed whitespace

* Added the uptime sensors option to the config flow

* All the unit tests should be there now

* Whoops

* Fixed translation

* Properly formatted the code

* Flake8 really has angel eyes

* Black should also be satisfied now

* Should have satisfied all static code analysis tools

* Fixed add uptime sensor function

* Fixed overintendation

* Fixed unit tests

* Made a spelling mistake during editing of unit tests

* Test verifies if utc time is correct

* Converted to iso format

* Converted unit test to iso format

* Unit test sensor json had the wrong uptime name

* Added options_updated handler

* Fixed remove sensors unit test

* Update homeassistant/components/unifi/sensor.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* Update homeassistant/components/unifi/sensor.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* Update test_device_tracker.py

Removed uptime from the devices

* Fixed black formatting issue

* I think the code coverage should be good now

* Trying to add the sensors again

* Using signals to hopefully trigger the controller to add them again

* Forgot import

* Sorted components

* fixed isort comments

* Removed CLASS and DEVICE_CLASS

* Added TYPE again

* Removed double underscores

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2020-09-18 19:33:37 +02:00
Bram Kragten b25bb78916
Updated frontend to 20200918.0 (#40253) 2020-09-18 19:12:10 +02:00
Robert Van Gorkom 2858c8dcc7
Fix high CPU usage in vera integration. (#40249) 2020-09-18 17:39:12 +02:00
On Freund 7f072a5ca8
Fix Kodi discovery title (#40247) 2020-09-18 17:30:46 +02:00
MeIchthys 3612df91e1
Fix Nextcloud sensors becoming unavailable (#40212) 2020-09-18 15:34:17 +02:00
Chris Caron 0a0d44a0b5
Disable async on Apprise (#40213) 2020-09-18 15:32:38 +02:00
Felipe Martins Diel 2f7b6bfa2d
Fix RM mini 3 update manager (#40215) 2020-09-18 15:31:25 +02:00
Markus Bong 27f11a1022
Use default values in advanced options in devolo home control (#40216) 2020-09-18 15:30:42 +02:00
Philip Allgaier ddbcfe83dd
Catch TypeError in strptime() template helper (#40226) 2020-09-18 15:29:40 +02:00
Felipe Martins Diel 976d8f7abe
Handle an unsupported device in the Broadlink config flow (#40242) 2020-09-18 15:29:26 +02:00
On Freund ff3fd63eea
Handle systems without groups (#40238) 2020-09-18 15:28:39 +02:00
On Freund 4cd876f159
Fix coolmaster.info (#40240) 2020-09-18 15:28:02 +02:00
On Freund 3f514da285
Fix kodi.call_method (#40236) 2020-09-18 15:24:14 +02:00
Tomasz 2d9019d4b2
Fix shelly sensor names (#39854) 2020-09-18 14:32:33 +02:00
Raman Gupta d0a5feda44
Fix Vizio async_unload_entry bug (#40210) 2020-09-18 13:18:56 +02:00
Julius Mittenzwei ed4ab403de
Upgrade pyvlx to 0.2.17 (#40182) 2020-09-17 20:18:55 -05:00
cgtobi 4efefd7fba
Add cgtobi to kodi code owners (#40202)
* Add myself to Kodi code owners

* Run hassfest
2020-09-17 20:17:22 -05:00
cgtobi 689f1519c0
Add cgtobi to sonos code owners (#40204)
* Add myself to Sonos code owners

* Run hassfest
2020-09-17 20:16:29 -05:00
Raman Gupta 100d2369d5
Use async_on_remove for vizio listeners (#40185) 2020-09-17 20:13:40 -05:00
HomeAssistant Azure 0a0a8fc67d [ci skip] Translation update 2020-09-18 00:07:17 +00:00
Daniel de Jong 1887f11ec9
Do not default Pilight lights to max brightness (#39549)
Fix pilight lights would always turned on at max brightness instead of just turning on. Some 433mhz dimmers (like the KAKU series) remember their last brightness setting.

Fix pilight lights would not respect configured dimlevel_min
2020-09-17 22:48:52 +02:00
J. Nick Koston e9abb357e4
Log template listeners when debug logging is on (#40180) 2020-09-17 14:45:30 -05:00
SNoof85 2489a6c6ef
Fix typo in strings for wolflink (#40164) 2020-09-17 18:07:03 +03:00
J. Nick Koston 44952a94cf
Add missing conext preservation to bayesian and universal (#40178)
We already do this for template sensors, but it was
missing for bayesian and universal
2020-09-17 16:47:23 +02:00
Bram Kragten 95e998d25a
Fix editing tags only get isoformat from datetime (#40174)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-17 16:45:55 +02:00
Chris Talkington 30de984827
Check mpd time type before splitting it (#40139) 2020-09-17 16:01:28 +02:00
Bram Kragten 0bb8a49ea2
Updated frontend to 20200917.1 (#40170) 2020-09-17 14:44:19 +02:00
Joakim Sørensen a82421306f
Update pyhaversion to 3.4.2 (#40161) 2020-09-17 12:08:09 +02:00
cagnulein b4d29653c6
Fix luci device_tracker not reliably reporting home/away state (#40160) 2020-09-17 11:35:13 +02:00
Robert Van Gorkom 70173488a8
Add config support to zoneminder integration (#37060)
* Add config support to zoneminder integration.

* Fixing spelling issue.
Adding self to maintainers.
Updating config flows generated file.

* Maintain zoneminder functionality without breaking changes.

* Addressing lint feedback.
Updating code owners.

* Using non-blocking calls.

* Adding tests package file.

* Update service description.

Co-authored-by: Rohan Kapoor <rohan@rohankapoor.com>

* Resolving conflicts in requirements file.

* Resolving more conflicts.

* Addressing PR feedback.

* Merging from dev.

Co-authored-by: Rohan Kapoor <rohan@rohankapoor.com>
2020-09-16 22:58:51 -07:00
HomeAssistant Azure f6584c1866 [ci skip] Translation update 2020-09-17 00:08:34 +00:00
Robert Van Gorkom 00093faae2
Clean up vera typings (#40143)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-16 16:23:50 -05:00
Bram Kragten a2cf09fb54
Update frontend to 20200916.0 (#40153) 2020-09-16 22:31:43 +02:00
Franck Nijhof f83f3c927a
Fix local media browser source conflicting with local www folder (#40151) 2020-09-16 21:38:40 +02:00
J. Nick Koston 5ea04d64f6
Prompt to reauth when the august password is changed or token expires (#40103)
* Prompt to reauth when the august password is changed or token expires

* augment missing config flow coverage

* augment test coverage

* Adjust test

* Update homeassistant/components/august/__init__.py

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

* block until patch complete

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-16 17:35:01 +02:00
Franck Nijhof 540b925659
Fix missing f from f-strings in cast integration (#40144) 2020-09-16 17:04:57 +02:00
Niccolo Zapponi 2b7e735e3d
Remove unsupported states from security systems in HomeKit (#40060) 2020-09-16 10:00:32 -05:00
Paulus Schoutsen d25192d8c5
Fix scene validator (#40140) 2020-09-16 16:26:34 +02:00
Franck Nijhof ff0562ad1e
Add media dirs core configuration (#40071)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-16 15:28:25 +02:00
Franck Nijhof 80764261c3
Upgrade sentry-sdk to 0.17.6 (#40133) 2020-09-16 13:47:52 +02:00
Paulus Schoutsen b515480a98
Fix ESPHome scan tag device ID (#40132) 2020-09-16 13:17:05 +02:00
Paulus Schoutsen 9309297d76
Guard for when Yandex Transport data fetching fails (#40131) 2020-09-16 12:48:38 +02:00
Jesse Hills 16e0ed9242
Use device name stored in device_info for tag scan in ESPHome (#40130) 2020-09-16 12:22:06 +02:00
Jesse Hills d650bcca3b
Allow ESPHome to trigger the HA tag scanned event (#40128) 2020-09-16 11:54:59 +02:00
springstan a13c4d4c17
Increase TIMEOUT_ACK to 10s (#40117) 2020-09-16 08:14:11 +02:00
HomeAssistant Azure f28b7f2187 [ci skip] Translation update 2020-09-16 00:09:01 +00:00
Maciej Bieniek 413263a6eb
Bump aioshelly library to version 0.3.2 (#40118) 2020-09-16 00:12:59 +02:00
AJ Schmidt 66bb6a6ffa
AlarmDecoder config flow fixes (#40037) 2020-09-16 00:11:29 +02:00
springstan 000d2047fb
Add and use currency constants (#40113) 2020-09-15 15:01:01 -06:00
springstan 90f5b178ef
Use AREA_SQUARE_METERS constant in all integrations (#40107) 2020-09-15 15:00:26 -06:00
Dan Klaffenbach 74cef6966d
Expose angle and xy attributes in deCONZ event if present (#39822)
These attribute are used by the color wheel on the Müller Licht tint
remote control.
2020-09-15 21:13:17 +02:00
Diogo Gomes 749d3c360a
Address error in SQL query (#39939) 2020-09-15 20:01:36 +02:00
springstan 5a12056e59
Add and use volume cubic constants (#40106) 2020-09-15 19:59:26 +02:00
springstan db582bdc1b
Use http status constants more, add HTTP_ACCEPTED and HTTP_BAD_GATEWAY (#39993)
* Use http status codes and add HTTP_BAD_GATEWAY constant

* Address review comments:
 - using constants in tado integration
 - using constant in media_player init.py

* Add and use HTTP_ACCEPTED constant
2020-09-15 20:01:07 +03:00
Josef Schlehofer 59d610af17
Upgrade youtube_dl to version 2020.09.14 (#40104) 2020-09-15 18:52:42 +02:00
Hareesh M U c8d5500441
Add bimonthly period feature for utility_meter component (#39931) 2020-09-15 17:52:19 +02:00
Maciej Bieniek 56ba4907e1
Remove the unnecessary prefix from the sensor names in the Shelly integration (#40097) 2020-09-15 16:30:33 +02:00
Shay Levy 4fbd4957bd
Guard both Shelly 2 & Shelly 2.5 in roller mode (#40086)
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
2020-09-15 16:29:24 +02:00
Bram Kragten 272d36bc93
Update frontend to 20200915.0 (#40101) 2020-09-15 15:57:10 +02:00
Franck Nijhof fffc7e2e8e
Upgrade sentry-sdk to 0.17.5 (#40092) 2020-09-15 12:10:22 +02:00
cgtobi 8236394b85
Check Sonos for local library before browsing (#40085) 2020-09-15 09:30:00 +02:00
J. Nick Koston 2ea604cc2a
Convert color temperature to hue and saturation for HomeKit (#40089)
The HomeKit spec does not permit the color temp characteristic
being exposed when color (hue, sat) is present.  Since
Home Assistant will still send color temp values, we need to
convert them to hue, sat values for HomeKit
2020-09-15 09:27:30 +02:00
J. Nick Koston 8d687c951a
Update gogogate2-api to 2.0.2 (#40010)
* Update gogogate2-api to 2.0.2

Resolves a timeout issue: https://github.com/vangorra/python_gogogate2_api/pull/11

* mock voltage
2020-09-15 08:48:30 +02:00
r4nd0mbr1ck 11319ac479
Speedtestdotnet - use server name to generate server list (#39775) 2020-09-14 22:50:44 -07:00
Robert Van Gorkom 903afb62d0
Add support for multiple vera controller hubs (#33613) 2020-09-14 22:06:52 -05:00
J. Nick Koston 938e06c00e
Fix homekit error when the bridge has been ignored. (#40082) 2020-09-14 19:39:44 -05:00
HomeAssistant Azure d0f4b23063 [ci skip] Translation update 2020-09-15 00:09:18 +00:00
cgtobi cb0452d80e
Fix netatmo media browser of outdoor events (#40079)
* Fix outdoor events

* Fix test data

* Increase coverage
2020-09-15 00:32:20 +02:00
Alexei Chetroi bdaea7879b
Update ZHA dependency (#40083) 2020-09-14 16:48:39 -04:00
Erik Montnemery 0f3a2f1f29
Increase TIMEOUT_ACK to 2s (#40080) 2020-09-14 22:10:30 +02:00
J. Nick Koston 949bd8d738
Reduce listener cancelation code in template tracker (#40040) 2020-09-14 21:43:00 +02:00
b3nj1 7adec2d894
Fix ecobee weather forcast off by 1 bug (#40048) 2020-09-14 21:29:51 +02:00
Chris Talkington cacbb2eb12
Add unique_id to canary camera (#40054) 2020-09-14 17:41:05 +02:00
J. Nick Koston 15281f468e
Extract the icon and state for logbook state changed events (#40039) 2020-09-14 09:35:19 -05:00
Paulus Schoutsen 3ba18550cd
Fix tag last scanned serialization (#40067) 2020-09-14 15:40:32 +02:00
Evgeny 09d437d531
Fix default forecast mode OpenWeatherMap (#40062) 2020-09-14 14:36:08 +02:00
Jc2k f1cc5182f0
Bump aiohomekit version (regression fix) (#40064) 2020-09-14 14:18:43 +02:00
Xiaonan Shen d26160c755
Add rpi_power integration (#35527)
Co-authored-by: Toast <swetoast@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-14 12:53:01 +02:00
Markus Bong 224fd24898
Correct devolo climate devices (#40061) 2020-09-14 12:24:49 +02:00
Xiaonan Shen 1e5186fe94
Deprecate the synology integration (#39958)
* Deprecate the synology integration

* Add release to remove synology
2020-09-14 12:14:13 +02:00
rajlaud 6e6d6c65ef
Improve reproduce_state for media players (#38266) 2020-09-14 11:48:16 +02:00
Thomas Germain 3881e0cb23
Add temperature and uptime to Synology DSM (#39419)
Co-authored-by: Quentame <polletquentin74@me.com>
2020-09-14 09:42:37 +02:00
Ville Skyttä eb0af3752c
Add more SSDP discovery data and constants (#39984) 2020-09-14 09:18:09 +02:00
J. Nick Koston 2e1dbe51a4
Make system_log test reliable (#40049) 2020-09-14 08:48:59 +02:00
J. Nick Koston c19b5c5ac3
Make recorder block_till_done reliable (#40043) 2020-09-14 08:48:29 +02:00
Chris Talkington 056e712667
Add device class to canary sensors (#40050)
* add device class to canary sensors

* Update test_sensor.py

* Update sensor.py

* Update sensor.py
2020-09-13 21:29:59 -05:00
HomeAssistant Azure 9acceda0f8 [ci skip] Translation update 2020-09-14 00:04:10 +00:00
Chris Talkington 9511103e26
Add unique_id to canary alarm_control_panel (#40041)
* add unique_id to canary alarm_control_panel

* Update test_alarm_control_panel.py

* Update alarm_control_panel.py

* Apply suggestions from code review

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

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-13 18:52:40 -05:00
Aidan Timson ae8c9d82bc
Mark Azure DevOps device as a service (#40044) 2020-09-13 18:22:33 -05:00
J. Nick Koston 7b016063ca
Refactor zeroconf setup to be async (#39955)
* Refactor zeroconf setup to be async

Most of the setup was calling back to async because
we were setting up listeners.  Since we only need
to jump into the executor to create the zeroconf
instance, its much faster to setup in async.

In testing this cut the setup time in half
or better.

* partial revert to after_deps
2020-09-13 18:06:19 -05:00
J. Nick Koston 46f9c0fb8a
Update phrasing and pin validation for homekit_controller (#40006) 2020-09-13 15:26:04 -05:00
Franck Nijhof cd26384634
Fix entity extraction from Template conditions (#40034) 2020-09-13 22:05:45 +02:00
springstan 1f8c1f151d
Fix requiring username or password for nzbget yaml config (#40003) 2020-09-13 22:04:48 +02:00
J. Nick Koston 36ce8ba79e
Ensure homekit_controller traps exceptions from find_ip_by_device_id (#40030) 2020-09-13 21:55:49 +02:00
AJ Schmidt c32f698671
Add Config Flow to AlarmDecoder (#37998) 2020-09-13 12:29:25 -05:00
Chris Talkington 17efa1bda5
Improve canary tests (#39956) 2020-09-13 11:32:41 -05:00
springstan da19854520
Fix slack notifications requiring an icon (#40027) 2020-09-13 10:23:50 -06:00
springstan fc1fb0ab7c
Revert 'Use STATE_UNKNOWN constant in dlink and ecobee' (#40022) 2020-09-13 17:11:24 +02:00
J. Nick Koston f3d50e2104
Do not log an error when a host is unreachable while pinging (#40024) 2020-09-13 16:44:37 +02:00
springstan 621526bbae
Use moisture and moving device class in various integrations (#39963) 2020-09-13 16:33:54 +02:00
Robert Svensson ceeea52915
Improve handling of mireds being far out of spec (#40018) 2020-09-13 16:31:39 +02:00
J. Nick Koston ff4bb962c4
Cleanup and reduce duplicate code from recent template changes (#40012)
As a result of refactoring, there is duplicate code
we can now reduce.

Additionally `_wrap_state` can be removed because
it had unreachable checks for `None`
2020-09-13 09:21:11 -05:00
J. Nick Koston 84578f515d
Suppress homekit bridge discovery by homekit controller (#39990) 2020-09-13 09:12:10 -05:00
Joakim Sørensen 1d12d4d54c
Bump pyhaversion to 3.4.0 (#40016) 2020-09-13 11:30:51 +02:00
Bouwe Westerdijk eac9c3c4f2
Ensure Plugwise unique_id is correctly set (#40014)
* Ensure unique_id is correctly set

* Removed unnec. line

Co-authored-by: Tom Scholten <git@scholten.nu>
2020-09-13 11:02:49 +02:00
Xiaonan Shen e3c51f0350
Fix xiaomi_aqara duplicated battery sensors (#39961) 2020-09-13 08:44:32 +02:00
Quentame bab4ad4f17
Add timeout config option to Synology DSM (#40000) 2020-09-12 20:36:39 -05:00
HomeAssistant Azure b05c88f1bc [ci skip] Translation update 2020-09-13 00:04:18 +00:00
Quentame 13df452dd4
Fix Freebox call sensor when no call in history (#40001) 2020-09-13 01:13:57 +02:00
Jeff Irion 285408b46c
Bump androidtv to 0.0.50 (#39998) 2020-09-12 23:53:41 +02:00
springstan e55035b2f9
Use DEVICE_CLASS_MOTION in various integrations (#39962) 2020-09-12 16:20:30 -05:00
Joakim Sørensen 02cb592917
Bump frontend to 20200912.0 (#39997) 2020-09-12 16:18:48 -05:00
Simone Chemelli ca26c8bbd7
Shelly: Power and Energy sensors in roller mode (#39709) 2020-09-12 22:31:01 +02:00
uvjustin b0ba0e77f8
Remove skip_sidx container option in stream (#39970)
* Remove skip_sidx container option

* Add comment
2020-09-12 15:19:37 -04:00
springstan 827711bcd1
Use problem, presence and plug device class constants in various integrations (#39973) 2020-09-12 13:23:24 -05:00
springstan 3d4ef8cfe1
Use connectivity device class constant in various integrations (#39972) 2020-09-12 13:21:57 -05:00
springstan cee96ae207
Use opening and occupancy device class in various integrations (#39965) 2020-09-12 18:07:13 +02:00
jjlawren 4c0f075d6a
Fix children_media_class for special folders (#39974) 2020-09-12 15:54:00 +02:00
Josef Schlehofer 6b966e2c47
Upgrade youtube_dl to version 2020.09.06 (#39969) 2020-09-12 14:58:29 +02:00
springstan 1bb5d4754f
Use DEVICE_CLASS_DOOR and DEVICE_CLASS_SMOKE in various integrations (#39950) 2020-09-12 07:35:24 -05:00
On Freund cf6b84790f
Handle Kodi shutdown (#39856)
* Handle Kodi shutdown

* Core review comments

* Make async_on_quit a coroutine
2020-09-12 14:22:14 +02:00
J. Nick Koston aaa8083d49
Change template loop detection strategy to allow self-referencing updates when there are multiple templates (#39943) 2020-09-12 14:20:21 +02:00
Bram Kragten fbf0e69558
Add children media class to children spotify media browser (#39953) 2020-09-12 10:35:51 +02:00
springstan f93c0c5cd3
Use DEVICE_CLASS_WINDOW constant in various integrations (#39949) 2020-09-11 21:24:23 -05:00
springstan ac2e290d97
Use sound, vibration and safety device class constants in various integrations (#39952)
* Use sound, vibration and safety device class constants in various integrations

* Fix wrong imports
2020-09-11 19:37:33 -05:00
HomeAssistant Azure ee5c1ea3f7 [ci skip] Translation update 2020-09-12 00:05:00 +00:00
Xiaonan Shen 4e10895a19
Remove unchecked return value in synology_dsm (#39929) 2020-09-11 15:14:22 -05:00
Jakob Schlyter 9b49ca3820
Add template filter timedelta_seconds to create a timedelta from seconds (#39608) 2020-09-11 15:07:31 -05:00
springstan 719aa0f317
Use STATE_UNKNOWN constant in dlink and ecobee (#39948) 2020-09-11 15:05:07 -05:00
Martin Hjelmare 50c573eb4d
Activate hassfest requirements CI check (#39940)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-09-11 21:38:32 +02:00
Greg Dowling f1cb8e80b3
Bump pyloopenergy library to 0.2.1 (#39919) 2020-09-11 20:47:48 +02:00
Jc2k 988a467afd
Device automation triggers for stateless HomeKit accessories (#39090)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-11 13:34:07 -05:00
J. Nick Koston 741487a1fc
Return the listeners with the template result for the websocket api (#39925) 2020-09-11 13:18:40 -05:00
uvjustin 9b29d09d45
Set output timescale to input timescale (#39946) 2020-09-11 14:07:45 -04:00
Quentame 062ac5f27d
Fix missing position attribute for MeteoFranceAlertSensor (#39938) 2020-09-11 16:50:17 +02:00
Bas Nijholt c2a9a39ee0
Don't trigger on attribute when the attribute doesn't change (#39910)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-11 14:02:17 +02:00
Thomas Lovén f59e727f16
Set variable values in scripts (#39915)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-11 13:16:25 +02:00
Marvin Wichmann 8ea8969d80
Warn users if KNX has no devices configured (#39899)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-11 13:09:31 +02:00
Martin Hjelmare e96fed20c8
Add children media class (#39902)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-11 13:08:13 +02:00
J. Nick Koston e208aac834
Add async_track_state_removed_domain to allow tracking when a state is removed from a domain (#39859)
when a state is removed from a domain
2020-09-11 13:03:31 +02:00
Franck Nijhof 101b5b3b35
Accept known hosts for get_url for OAuth (#39936) 2020-09-11 13:00:00 +02:00
Paulus Schoutsen 5117a16841
Extract variable rendering (#39934) 2020-09-11 12:24:16 +02:00
J. Nick Koston 9389a7c9be
Limit zeroconf discovery to name/macaddress when provided (#39877)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-11 12:19:21 +02:00
J. Nick Koston 487a74ba5d
Update zeroconf to 0.28.5 (#39923) 2020-09-11 07:15:13 +02:00
HomeAssistant Azure 39d441a29b [ci skip] Translation update 2020-09-11 00:09:17 +00:00
J. Nick Koston bf1ad0a757
Prevent missing integration from failing HomeKit startup (#39918) 2020-09-10 23:19:11 +02:00
Paulus Schoutsen cfc020daa2
Bump aioshelly to 0.3.1 (#39917) 2020-09-10 23:07:23 +02:00
uvjustin 4ee5a29bc0
Disable audio for HLS or mpegts input (#39906) 2020-09-10 15:55:55 -04:00
Xiaonan Shen b66aaeea99
Add camera support to synology_dsm (#39838)
* Add camera support to synology_dsm

* Code improvements

* More code improvements
2020-09-10 21:08:37 +02:00
Erik Montnemery 4d6e694d14
Fix discovery update of MQTT state templates (#39901) 2020-09-10 20:52:23 +02:00
J. Nick Koston fd8a4182d9
Detect self-referencing loops in template entities and log a warning (#39897) 2020-09-10 20:50:11 +02:00
Franck Nijhof bedc1e5672
Upgrade numpy to 1.19.2 (#39912) 2020-09-10 20:47:15 +02:00
J. Nick Koston 047dc19351
Add zeroconf discovery to homekit (#39907)
Ensures HomeKit Bridge is offered for onboarding if
homekit is detected on the network.
2020-09-10 20:44:11 +02:00
Paulus Schoutsen aa9dff572e
Add default variables to script helper (#39895) 2020-09-10 20:41:42 +02:00
J. Nick Koston b5005430be
Fix ping log level to be debug instead of warning (#39900) 2020-09-10 12:10:43 -04:00
Joakim Sørensen 0cce35b23e
Add exception for NoURLAvailableError in OAuth2FlowHandler (#39845)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-10 14:52:49 +02:00
RogerSelwyn 162c39258e
Add Carbon Monoxide binary sensor to Homekit Controller (#39889) 2020-09-10 12:25:14 +01:00
Paulus Schoutsen 35a9106a4b
Shelly switch to guard for shelly 2 in roller mode (#39886) 2020-09-10 12:08:17 +02:00
Bram Kragten b49e6243d1
Fix spotify media browser category (#39888) 2020-09-10 12:06:18 +02:00
Paulus Schoutsen bb661ad083
Fix event trigger (#39884)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-09-10 11:25:56 +02:00
Pascal Vizeli 7b3369b71d
Bump hass-nabucasa 0.37.0 (#39885) 2020-09-10 11:18:43 +02:00
bsmappee 8648d8d012
Bump pysmappee to 0.2.13 (#39883) 2020-09-10 10:27:07 +02:00
Marius a6a011ec19
Use entity_class 'safety' in synology_dsm storage sensors (#39757)
* Use entity_class: 'safety' in storage sensors

and more meaningful icons then 'mdi:test-tube', not sure if these are even necessary, given the device_class that defines the icons too?

* Set device_class, not icon

Still, the temperature sensors have both set, should I take these out in this go too? While we're at it....

* added device_class temperature to temp sensors

and removed explicit icons
do we need to set a D_c also on the Status sensor? line 187

* revert device_class Safety

which is now set in const.py
following up on https://github.com/home-assistant/core/pull/39757#pullrequestreview-483705147

* Use DEVICE_CLASS_SAFETY from const

+ revert temp to avoid conflict

* const from binary

* reverted non binary status sensors

to use: "mdi:checkbox-marked-circle-outline" and set None to device_class

Co-authored-by: Quentame <polletquentin74@me.com>
2020-09-10 09:21:51 +02:00
Franck Nijhof b70df4ab18
Disable Met.no hourly weather by default (#39867)
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2020-09-10 07:58:40 +02:00
HomeAssistant Azure 6e79d49c80 [ci skip] Translation update 2020-09-10 00:04:20 +00:00
Sören Oldag 1f75f61bb0
Bump pyTibber to 0.15.2 (#39870) 2020-09-10 00:52:27 +02:00
Franck Nijhof 1a12611117
Upgrade sentry-sdk to 0.17.4 (#39868) 2020-09-10 00:49:54 +02:00
Aaron Bach 0e11c10468
Prompt user to reauthenticate AirVisual when API key expires (#38341)
* Prompt user to reauthenticate AirVisual when API key expires

* Don't version bump

* Cleanup

* Linting
2020-09-09 16:41:07 -06:00
Joakim Sørensen 94b4824c27
Updated frontend to 20200909.0 (#39869)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-10 00:32:49 +02:00
Chris Talkington a918981ff3
Improve Roku media browser structure (#39754)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-09 23:22:26 +02:00
Martin 9c40b511f2
Updated warning_device_warn (#39851)
duty_cycle: spec says in inrements of 10
duration: its a 16 bit field
2020-09-09 22:30:40 +02:00
Martin Hjelmare e6bc48ab68
Remove media class apps and channels (#39864) 2020-09-09 22:19:52 +02:00