Commit Graph

6891 Commits (745823dd5520ce0bbbb1a3a42d07ffdf3b1edaca)

Author SHA1 Message Date
Allen Porter 745823dd55
Add nest SDM API camera/doorbell events (#42700)
* Add nest SDM API camera/doorbell events

Events are fired  when pubsub messages are received.   When messages
are received lookup a home assistant device id from the nest
device id, so that the home assistant device id can be included
in the event payload.

* Update homeassistant/components/nest/__init__.py

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

* Update nest code style based on PR feedback

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-24 14:34:43 -08:00
epenet 48d9f1a61b
Fix duplicate check on onewire config flow (#43590) 2020-11-24 21:44:31 +01:00
Robert Svensson acb94b0b59
Add tilt support to deCONZ covers (#43607) 2020-11-24 21:42:11 +01:00
Erik Montnemery d493f18e50
Bump hatasmota to 0.1.1 (#43608) 2020-11-24 19:55:15 +01:00
springstan 5a892e8fca
Add unknown_authorize_url_generation to base strings for config flows (#42484) 2020-11-24 12:00:16 -05:00
Allen Porter 3dd14e05e3
Update nest library and switch events to async (#43583) 2020-11-24 08:53:50 -07:00
Robert Svensson 7214d6517a
Fix conversion of cover position between HASS and deCONZ (#43602) 2020-11-24 14:47:56 +01:00
Paulus Schoutsen 755f15abe3
Fix warning generated by surpetcare test (#43598) 2020-11-24 12:40:25 +01:00
JJdeVries 8f18af9e80
Decrease asuswrt connects per sensor (#43383)
* asuswrt: Decrease number of connects per sensor

* Changed implementation to DataUpdateCoordinator

* review changes

* update aioasuswrt dependency

* Apply suggestions from code review

Add explicit return None and fix type hint

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-11-24 04:50:57 +01:00
Maikel Punie 059f1a35f2
Use references in config flow for solaredge (#43511) 2020-11-23 15:34:46 -05:00
starkillerOG 0c30abda61
Add Motion Blinds integration (#42989)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-11-23 10:33:14 -10:00
Robert Svensson 55cbd5aa0d
Track deCONZ lib changes to light based devices (#43366)
* Improve control of covers

* Log backtrace if available

* Do not create entity for controller tool
Binary sensor should use state rather than is_tripped
Add some more tests to lights and sensors

* Bump dependency to v74

* Fix Balloobs comments
2020-11-23 11:37:11 +01:00
Robert Svensson ffe0c1cd58
Add device id to deconz_event (#43552) 2020-11-23 09:22:44 +01:00
Maciej Bieniek 885e393df9
Make Brother uptime sensor disabled by default (#43478) 2020-11-22 11:42:16 -10:00
Daniel Rheinbay 498654a1e0
Add vendor effects to Yeelight integration (#42711)
Add effects shipped by Yeelight in their apps, as these effects are quite popular and have been missing from Home Assistant.
2020-11-22 21:41:09 +01:00
On Freund b2c9bd2ca6
Gracefully handle no uuid in kodi discovery (#43494) 2020-11-21 20:47:57 +01:00
Indu Prakash 7213d5f31b
Support for multiple states in history_stats (#43416)
Co-authored-by: Indu Prakash <6459774+InduPrakash@users.noreply.github.com>
2020-11-21 12:44:37 +01:00
Aidan Timson d7bf783da6
Add reauth support for OVO Energy (#38882) 2020-11-21 11:21:23 +01:00
Tom db60a71603
Change Plugwise integration to plugwise module (#43036)
* Switch to plugwise module and forthcoming changes

* Adjusted according to review

* Fix leaving out domain for tests

* Add tests for exceptions

* Add more tests for exceptions

* Version bump

* Wording on test

* Catch-up with dev
2020-11-20 20:43:20 -06:00
Paulus Schoutsen dc5f7aedd7
Verify that we register blueprints on automation setup (#43434) 2020-11-20 15:57:57 +01:00
Paulus Schoutsen bbb82ded68
Fix time trigger based on entities ignoring entities if initially in the past (#43431) 2020-11-20 15:43:28 +01:00
Philip Allgaier 82b7cc8ac7
Provide HA username via auth WS (#43283) 2020-11-20 15:42:19 +01:00
Paulus Schoutsen 43ba053030
Add support for checking minimum HA version (#43350) 2020-11-20 15:24:42 +01:00
Joakim Plate e98f36e357
Support openRelativePercent for google assistant covers (#43336) 2020-11-20 15:20:09 +01:00
Brig Lamoreaux c42b1f65b3
Add Srp energy component (#41091) 2020-11-20 08:18:02 -05:00
Paulus Schoutsen 390668e192
Check config to use config platforms (#43407) 2020-11-19 22:05:36 +01:00
David f693c8a9fd
Add twinkly integration (#42103)
* Add twinkly integration

* Add tests for the Twinkly integration

* Update Twinkly client package to fix typo

* Remove support of configuration.yaml from Twinkly integration

* Add ability to unload Twinkly component from the UI

* Remove dead code from Twinkly

* Fix invalid error namespace in Twinkly for python 3.7

* Fix tests failing on CI

* Workaround code analysis issue

* Move twinkly client init out of entry setup so it can be re-used between entries

* Test the twinkly component initialization

* React to PR review and add few more tests
2020-11-19 12:22:12 -05:00
Bram Kragten 5dcbb634f6
Fix selector to return the selector type (#43395) 2020-11-19 16:48:43 +01:00
Allen Porter 2d14f07396
Improve nest SDM integration error handling (#43271) 2020-11-19 12:26:49 +01:00
Erik Montnemery d61998e184
Raise in base implementation of FanEntity.oscillate (#43354) 2020-11-19 12:05:52 +01:00
Anders Melchiorsen 390b45b149
Reword numeric_state trigger (#43367) 2020-11-19 12:00:01 +01:00
Erik Montnemery 0bf9734af1
Bump hatasmota to 0.0.32 (#43360) 2020-11-19 09:07:35 +01:00
Alexei Chetroi 54c4e9335f
Refactor ZHA sensor initialization (#43339)
* Refactor ZHA sensors to use cached values after restart

* Get attr from cluster, not channel

* Run cached state through formatter method

* Use cached values for div/multiplier for SmartEnergy channel

* Restore batter voltage from cache

* Refactor sensor to use cached values only

* Update tests

* Add battery sensor test
2020-11-18 21:34:12 -05:00
Alexei Chetroi f1693e2433
Refactor ZHA tests to allow attribute reads during device initialization (#43357)
* Allow plugging zigpy attribute reads in tests

* Migrate ZHA tests to use new patched attribute reads

* Remove logging in tests
2020-11-18 19:12:38 -05:00
Chris b25e8be3f2
Tweak OZW Light discovery (#43325) 2020-11-18 15:18:59 +01:00
Joakim Plate 1567fadda3
Improve Google Assistant cover assumed state handling (#43255)
* Set command only cover
* No need for override position now that we support command only
* Return empty state response for assumed state

Fixes #43178
Reverts: #23498

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-17 21:55:46 +01:00
Maciej Wilczyński 6a5546afc1
Add an option to template delay_on/off in template binary sensor (#43259) 2020-11-17 07:24:04 -10:00
Erik Montnemery 14aba1f9de
Bump hatasmota to 0.0.31 (#43319) 2020-11-17 18:02:41 +01:00
Klaas Schoute b358103b58
Update cloud integration to 0.38.0 (#43314)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-17 16:31:59 +01:00
Raman Gupta 95504b7408
Abort vizio discovery flow without unique ID (#43303)
* abort vizio discovery flow if unique ID cant be found because it means we cant connect

* add tests

* fix abort call
2020-11-17 07:11:42 +01:00
Tom ed36cb7beb
Add notification binary_sensor to Plugwise integration (#41473)
* Notifications extract from beta

* Remove info loggings

* Delete notification service

* Only notifications for right smiles

* Revert to correct logic

* Catchup with dev (mostly with ourselves from #41201)

* Remove debug logging

* Naming improvement

* Improve test quality as per codecov patch requirement

* Revert to original condition (and appropriately test)

* Fix delete_notification_service, bring tests fixtures up to 1.6.0 including notifications

* Review comment (@bouwew)

* Correct test value

* Re-apply #40108 fix after rebase sidestep

* Update tests/components/plugwise/test_init.py

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

* Add needed state to imports

* Remove separate gw unload code

* Change entry_fail approach

* Revert persistent notification part

* Revert persistent notification part - lint

* Update homeassistant/components/plugwise/binary_sensor.py

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

* Update homeassistant/components/plugwise/binary_sensor.py

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

* Rework reuse of sensor in binary_sensor

* Explicit state attribute keys

* Remove tempfile

* List of notifications per severity

* Update homeassistant/components/plugwise/binary_sensor.py

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

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-11-16 19:54:44 -06:00
Erik Montnemery 52e1282d8c
Make MQTT climate return PRESET_NONE when no preset is set (#43257) 2020-11-16 20:10:55 +01:00
Paulus Schoutsen 479de9433c
Convert core tests to async (#43287) 2020-11-16 18:25:55 +01:00
Paulus Schoutsen 819dd27925
Automatically clean up executor as part of closing loop (#43284) 2020-11-16 15:43:48 +01:00
Adrian Suwała 246ad8dba9
Rewrite ecobee unittest tests to pytest (#42584) 2020-11-16 11:54:51 +01:00
Michael 60314ecc61
Apply suggestions from #42697 to synology_dsm (#43197)
* apply suggestions from #42697

* fix tests

* use MockConfigEntry for test

* use hass.config_entries.async_setup()

* disable default fixture

* rename marker to no_bypass_setup
2020-11-16 11:18:48 +01:00
Chris Talkington 467d79c7fd
Add tests for browse media image proxy (#43076)
* add tests for browse media image proxy

* Update test_init.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update __init__.py
2020-11-16 07:49:41 +01:00
Clifford Roche eb9e9e67f0
Update greeclimate to 0.10.3 (#43248)
* Update greeclimate to 0.10.3

* Device search needs to be mocked in tests
2020-11-15 11:06:51 -06:00
Florian Klien a6f47ac380
Remove yessssms integration (#43200) 2020-11-15 16:40:59 +01:00
J. Nick Koston 8b63e22c99
Bypass the slow update warning for group updates (#43209) 2020-11-14 21:46:24 +01:00