Commit graph

25043 commits

Author SHA1 Message Date
David Bonnes
9a099bdf0a
Ensure unique_ids for all evohome thermostats ()
* initial commit

* small tweak
2020-03-16 11:04:12 +01:00
Chris Talkington
cf8dfdae47
Add config flow to roku ()
* create a dedicated const.py

* add DEFAULT_PORT to const.py

* work on config flow conversion.

* remove discovery.

* work on config flow and add tests. other cleanup.

* work on config flow and add tests. other cleanup.

* add quality scale to manifest.

* work on config flow and add tests. other cleanup.

* review tweaks.

* Update manifest.json

* catch more specific errors

* catch more errors.

* impprt specific exceptions

* import specific exceptions

* Update __init__.py

* Update config_flow.py

* Update media_player.py

* Update remote.py

* Update media_player.py

* Update remote.py

* Update media_player.py

* Update remote.py

* Update config_flow.py

* Update config_flow.py

* Update media_player.py

* Update __init__.py

* Update __init__.py

* Update config_flow.py

* Update test_config_flow.py

* Update config_flow.py

* Update __init__.py

* Update test_config_flow.py

* Update remote.py

* Update test_init.py

* Update test_init.py

* Update media_player.py

* Update media_player.py

* Update media_player.py
2020-03-15 21:13:04 -07:00
Alan Tse
6e95b90f42
Bump teslajsonpy to 0.5.1 () 2020-03-15 20:42:07 -07:00
shred86
d36259f067
Add Abode tests ()
* Add tests for several devices

* Update coveragerc

* Code review changes and minor clean up

* More code review changes

* Update manifest and minor test updates

* Add test for locks and covers

* Add tests for switch on and off

* Add more complete test for alarms

* Fix for camera test

* Patch abodepy.mode for tests

* Add test for unknown alarm state and minor cleanup

* Update to make tests more robust

* More specific tests

* Update quality scale to silver

* Remove integration quality scale
2020-03-16 03:05:10 +01:00
J. Nick Koston
d62bb9ed47
Add model to rachio device info ()
* Add model to rachio device info

Address followup items

* Address review items, retest zone updates back and forth, and standby mode

* Remove super

* Revert "Remove super"

This reverts commit 02e2f156a9.

* Update homeassistant/components/rachio/switch.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/rachio/binary_sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-03-16 03:01:41 +01:00
Kit Klein
ef54f33af7
Ignore the ignored konnected config entries ()
* ignore the ignored konnected config entries

* key off data instead of source
2020-03-16 01:11:26 +01:00
Tom Harris
1391f90a30
Bump insteonplm to 0.16.8 () 2020-03-15 13:50:23 -07:00
Paulus Schoutsen
2889067ece
Make sure panel_custom won't crash on invalid data ()
* Make sure panel_custom won't crash on invalid data

* Add a test
2020-03-15 11:51:02 -07:00
Bram Kragten
f4bf66aecd
Require a hyphen in lovelace dashboard url ()
* Require a hyphen in lovelace dashboard url

* Keep storage dashboards working

* register during startup again

* Update homeassistant/components/lovelace/dashboard.py

Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>

* Comments

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-03-15 11:50:23 -07:00
SukramJ
2f80489428
Add SF transition to HmIP-BSL and remove obsolete code in HMIPC () 2020-03-15 19:01:50 +01:00
Steven Looman
b6e69cd370
Add log message on timeout and update less often for upnp devices ()
* Catch asyncio.TimeoutError, show a proper message instead

* Throttle updates to max once per 30s

* Change code owner

* Fix CODEOWNERS + linting

* Warn on connection timeout
2020-03-15 18:18:15 +01:00
Daniel Høyer Iversen
f9634f0232
Add Netatmo Home Coach as model () 2020-03-15 12:41:19 +01:00
Jc2k
6affb27711
Fix homekit_controller beta connectivity issues () 2020-03-14 23:34:29 +01:00
Dave Pearce
5ec76af875
Add Insteon Dual Band SwitchLinc model 2477S to ISY994 () 2020-03-14 22:56:02 +01:00
Greg
5b41680506
Bump eagle_reader API version to v0.2.4 () 2020-03-14 22:27:28 +01:00
SukramJ
4f81109304
Fix flaky tests for HMIPC () 2020-03-14 19:35:15 +01:00
Chris Talkington
04763c5bfb
Remove extra logging from directv init. () 2020-03-14 19:32:38 +01:00
Chris Talkington
e5e38edcb2
Fix directv location of unknown error string ()
* Update strings.json

* Update en.json
2020-03-14 19:12:01 +01:00
Ville Skyttä
e86919a997
Type hint improvements () 2020-03-14 11:39:28 +01:00
Ville Skyttä
d04479044c
Upgrade huawei-lte-api to 1.4.11 ()
https://github.com/Salamek/huawei-lte-api/releases/tag/1.4.11
2020-03-14 11:37:44 +01:00
J. Nick Koston
7737387efe
Add config flow for rachio ()
* Do not fail when a user has a controller with shared access on their account

* Add config flow for rachio

Also discoverable via homekit

* Update homeassistant/components/rachio/switch.py

Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>

* Split setting the default run time to an options flow

Ensue the run time coming from yaml gets imported into the option flow

Only get the schedule once at setup instead of each zone (was hitting rate limits)

Add the config entry id to the end of the webhook so there is a unique hook per config entry

Breakout the slew of exceptions rachiopy can throw into RachioAPIExceptions

Remove the base url override as an option for the config flow

Switch identifer for device_info to serial number

Add connections to device_info (mac address)

* rename to make pylint happy

* Fix import of custom_url

* claim rachio

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-03-13 22:46:17 -07:00
Franck Nijhof
743166d284
Fix brightness_pct in light device turn_on action () 2020-03-13 21:58:32 -07:00
Chris Talkington
5dd031af17
Optimize directv client initialization ()
* Optimize directv client initialization.

* Update config_flow.py

* Update media_player.py

* Update media_player.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update test_media_player.py

* Update __init__.py

* Update media_player.py

* Update test_media_player.py

* Update media_player.py

* Update test_media_player.py

* Update 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 test_config_flow.py

* Update __init__.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update test_media_player.py

* Update test_media_player.py

* Update __init__.py

* Update __init__.py

* Update __init__.py
2020-03-13 21:55:21 -07:00
J. Nick Koston
750ed2facd
Optimize is_entity_exposed in emulated_hue by removing deprec… ()
* emulated_hue: Optimize is_entity_exposed

Switch all list transversals in is_entity_exposed to
hash lookups

get_deprecated is now only called if explict_expose is
set

This funciton was iterating multiple lists per enitity
every time there was an update.  It was responsible for
a chunk of execution time when there are large number
of entities in home assistant.

* Complete deprecation of ATTR_EMULATED_HUE attribute

* Complete deprecation of ATTR_EMULATED_HUE attribute (remove const)

* Remove ATTR_EMULATED_HUE_HIDDEN and Rewrite tests
2020-03-13 21:47:47 -07:00
David F. Mulcahey
aa972b0005
Fix handling of attribute reports in ZHA sensors and binary sensors ()
* Update sensor tests.

* Update light tests.

* Update binary_sensor tests.

* Update cover tests.

* Update device tracker tests.

* Update fan tests.

* Update lock tests.

* Update switch tests.

* add sensor attr to sensors

* add sensor attr to binary sensors

* cleanup extra var

Co-authored-by: Alexei Chetroi <alexei.chetroi@outlook.com>
2020-03-13 19:17:50 -04:00
Aidan Timson
628f77f8f2
Fix onvif error with non ptz cameras () 2020-03-13 23:58:14 +01:00
Slava
9db3900cff
Add brightness state to emulated hue when devices support only color temp and brightness () 2020-03-13 23:42:47 +01:00
J. Nick Koston
fd5895118e
Do not fail when a user has a controller with shared access on… () 2020-03-13 14:38:14 -07:00
Andre Lengwenus
607cdfdd32
Bump pypck to 0.6.4 () 2020-03-13 22:27:53 +01:00
Bram Kragten
460857a765
Updated frontend to 20200313.0 () 2020-03-13 13:43:39 -07:00
Bram Kragten
6bd55011a8
Check if panel url used and delay dashboard reg till start ()
* Check if panel url used and delay dashboard reg till start

* move storage_dashboard_changed

* fix tests
2020-03-13 11:55:53 -07:00
J. Nick Koston
e2a113a2de
Bump py-august to 0.25.0 ()
Fixes a bug in the conversion to async where code validation failed.
2020-03-13 18:07:53 +01:00
ochlocracy
86f61b8e55
Fix camera.options to camera.stream_options. () 2020-03-13 11:50:16 -04:00
smega
f3fed5647e
Extend rtorrent sensor functionality ()
* Extend rtorrent sensor functionality.

* Remove blank line from end of file.

* After using black formatter.

* Update sensor.py using snake_case for variable names.

* Update PR by using true value in condition.
2020-03-13 15:29:49 +01:00
Franck Nijhof
992daa4a44
Migrate WLED to use DataUpdateCoordinator ()
* Migrate WLED to use DataUpdateCoordinator

* Remove stale debug statement

* Process review suggestions

* Improve tests

* Improve tests
2020-03-13 13:19:05 +01:00
Raman Gupta
26d7b2164e
Move apps configuration to options flow for vizio integration ()
* move apps configuration to options flow

* add additional assertion to new test

* add additional assertions for options update

* update docstrings, config validation, and tests based on review
2020-03-13 12:16:24 +01:00
brefra
31d150794d
Add memo text service ()
* Add set_memo_text service

* Apply template rendering for memo text

* Update constants to comply to naming conventions

* Local variable for module address and extended error description

* fixed typo
2020-03-13 08:09:30 +01:00
Austin Mroczek
7e6e36db15
Bump total-connect-client to 0.54.1 ) 2020-03-13 07:34:09 +01:00
Aaron Bach
4f0997f6e9
Add options flow for SimpliSafe ()
* Fix bug where SimpliSafe ignored code from UI

* Fix tests

* Add options flow

* Fix tests

* Code review

* Code review

* Code review
2020-03-12 22:00:00 -07:00
Eugenio Panadero
94b6ab2862
Use platform tag to register components on hue SensorManager ()
* Use platform tag to register components on hue SensorManager

instead of a boolean flag to decide between sensor and binary sensor,
so it could be used externally (or to get ready for inclusion of other comps)

* Make new item discovery platform agnostic for SensorManager
2020-03-12 18:31:39 -07:00
Franck Nijhof
11a25157c1
Upgrade sqlalchemy to 1.3.15 () 2020-03-13 00:28:26 +01:00
Franck Nijhof
ff92a8b260
Add update class method to DataUpdateCoordinator ()
* Add update class method to DataUpdateCoordinator

* Update homeassistant/helpers/update_coordinator.py

Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>

* Move update_method param

* Rename async_update_data to _async_update_data

* Raise NotImplementedError

* Re-raise NotImplementedError

* Remove caplog, not needed anymore

* Don't set last_update_success on NotImplementedError

* Fix test

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-03-13 00:27:19 +01:00
Paulus Schoutsen
1fe26c77e0
Sonos idle ()
* Sonos idle

* F-string

* Add to properties

* Fixes
2020-03-12 14:47:57 -07:00
Franck Nijhof
00d5e5cfb2
Upgrade pre-commit to 2.2.0 () 2020-03-12 14:44:14 -07:00
Emilv2
c968e455a9
Fix delijn sensor stuck on last passage ()
* Fix delijn sensor stuck on last passage

If the returned passage is an empty list that means there are
no next passages, so the sensor should be updated accordingly

* Mark the sensor as unavailable instead of emptying data

* use available property

* add available property
2020-03-12 14:43:52 -07:00
Bram Kragten
a3dd9979d2
Updated frontend to 20200312.0 () 2020-03-12 14:41:04 -07:00
Raman Gupta
6e97975ff8
Set self._current_app to None when vizio device is off () 2020-03-12 15:04:34 +01:00
Franck Nijhof
af7c01f957
Bumped version to 0.108.0dev0 () 2020-03-12 12:40:31 +01:00
Fabian Affolter
29533d8d4d
Upgrade sendgrid to 6.1.3 () 2020-03-12 12:06:01 +01:00
Robert Svensson
374a8157e7
Remove manual configuration support () 2020-03-12 11:56:50 +01:00