Commit Graph

6015 Commits

Author SHA1 Message Date
Anders Melchiorsen
1a888433cb Fix beat calculation (#43142) 2020-11-13 09:33:00 +01:00
Anders Melchiorsen
e0f1d0ab20 Mock time_date sensor tests (#43141) 2020-11-13 09:31:55 +01:00
Martin Hjelmare
a665e152a9 Fix aurora config flow tests (#43128) 2020-11-12 12:11:05 +01:00
Franck Nijhof
6f326a7ea4 Add support for multiple event triggers in automation (#43097)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-12 11:58:28 +01:00
Aaron Bach
24840cce23 Add a config flow for Recollect Waste (#43063)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-12 11:00:42 +01:00
SukramJ
d7e5d1bfaf Bump dependency for HomematicIP Cloud (#43018)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-12 10:33:01 +01:00
Bram Kragten
1c7080d5c5 Add save and delete WS commands to blueprints (#42907)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-11 23:32:46 +01:00
djtimca
d47b3a5f44 Fix Aurora integration including externalizing API to PyPi and adding config_flow (#43045)
Co-authored-by: Pawel <pszafer@gmail.com>
2020-11-11 20:36:16 +01:00
Chris Talkington
df5a8c4dac Use media player image proxy for roku media browser (#43070) 2020-11-11 20:17:46 +01:00
Joakim Sørensen
403514ccb3 Add system health section for the Supervisor (#43074) 2020-11-11 20:12:24 +01:00
Moritz Schmitz von Hülst
434d39a5ea Add initial rest query params (#42198)
* add initial rest query params

* of course I didn't run black

* fix tests

* fix tests

* add test

* reformat

* add binary sensor test

* fix tests

* add one more test and fix switch

* should not have touched that

* if you don't pay attention once
2020-11-11 09:03:55 -10:00
Michael
dbe89c1e02 Add reboot and shutdown service to synology_dsm (#42697)
* add reboot and shutdown service to synology_dsm

* apply suggestions

* make _async_setup_services() async

* add comment to make sure unique_id is serial
2020-11-11 19:06:50 +01:00
uvjustin
66dccd86bd Modify wait timeout in stream (#42794)
* Set wait timeout to 40

* Use dynamic wait_timeout

* Catch error in container open

* Get restart times from const.py

* Fix test_stream_keepalive
2020-11-11 12:32:56 -05:00
Erik Montnemery
8cc7069323 Bump hatasmota to 0.0.29 (#43013) 2020-11-11 13:51:09 +01:00
Aaron Bach
19f48e180c Remove YAML config for Tile (#43064) 2020-11-11 09:44:14 +01:00
Rob Bierbooms
930866bad5 Add MIN_TIME_BETWEEN_UPDATES to dsmr integration (#43057) 2020-11-11 09:21:07 +01:00
Paulus Schoutsen
ec1b9c2099 Fix mfi test (#43067) 2020-11-11 00:03:16 +01:00
Paulus Schoutsen
7745408440 System health improvement (#43066) 2020-11-10 23:56:50 +01:00
Allen Porter
94db07ca8c Update nest sdm camera to refresh in background (#42865)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-10 23:48:02 +01:00
Paulus Schoutsen
9f4480a634 Add system health streaming updates (#42831) 2020-11-10 22:45:59 +01:00
Paulus Schoutsen
b1c78554f2 Fix mfi test (#43060) 2020-11-10 22:09:38 +01:00
Erik Montnemery
4e49bd0596 Correct handling of existing MQTT subscriptions (#43056) 2020-11-10 21:55:26 +01:00
Paulus Schoutsen
3af1771616 Include device_id in ZHA event (#43037) 2020-11-10 12:43:15 +01:00
Elena Rogleva
c029d29f11 Rewrite the pilight/test_sensor.py tests to use async pytest functions (#42418) 2020-11-10 11:11:56 +01:00
Felipe Martins Diel
48e954e038 Change instructions for unlocking Broadlink devices (#42023) 2020-11-10 10:42:59 +01:00
Peter Epley
b099726854 Add function to remove holidays from workday sensor (#41988) 2020-11-10 10:26:55 +01:00
Aaron Bach
244bfb2096 Deprecate YAML config for Notion (0.119 removal) (#43026) 2020-11-09 23:47:38 -06:00
Diego Elio Pettenò
6b21df9053 Expose Dyson PureCool filter life remaining percentage (#42765) 2020-11-09 23:01:13 +01:00
J. Nick Koston
add50cb33a Add services to log and dump objects to the profiler to help track down memory leaks (#42951)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-09 10:54:18 -10:00
Erik Montnemery
5694e4190c Extend WS API result when enabling an entity (#42667)
* Extend WS API result when enabling an entity

* Fix tests

* Fix tests

* Move updated registry entry to sub dict

* Address review comments

* Increase test coverage
2020-11-09 19:47:45 +01:00
Paulus Schoutsen
aec191b558 Support datetime sensor in time trigger (#42899) 2020-11-09 14:50:54 +01:00
Aaron Bach
3707b72a37 Deprecate YAML config for AirVisual (0.119 removal) (#42581) 2020-11-09 13:41:04 +01:00
Martin Hjelmare
6c5ef0970a Add ozw config flow add-on management (#42421)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-09 13:30:19 +01:00
Erik Montnemery
b45fa29077 Force color or white mode exclusivity for MQTT lights (#42887) 2020-11-09 12:51:01 +01:00
Guido Schmitz
804579cd54 Update devolo-home-control-api to 0.16.0 (#42944) 2020-11-09 12:17:35 +01:00
Matthew Donoughe
bc4bbaf6ef Add device trigger support for device trackers (#42324)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-09 12:04:16 +01:00
Allen Porter
64f06b2b00 Update nest SDM climate simplifying support for eco mode (#42955) 2020-11-09 11:35:38 +01:00
Paulus Schoutsen
e477e94ddd Fix flaky epson CI (#42999) 2020-11-09 10:45:17 +01:00
springstan
30b94892c4 Use strings instead of f-strings for constants (#40619) 2020-11-09 10:09:53 +01:00
Andrew Marks
42cdbc7e1d Correct logging and add test case for sharkiq (#41863)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-11-09 08:33:09 +01:00
Xiaonan Shen
f499187835 Fix yeelight binary sensor unique ID (#42562) 2020-11-09 08:32:21 +01:00
On Freund
5a7e4b4dae Add zone_entity_id to Risco events (#39678)
* Add zone_entity_id to Risco events

* Add comment

* Fix dependency on order
2020-11-08 12:14:43 -06:00
epenet
7c397a02b7 Add onewire switches (#42962)
* Add support for switches

* Fix stale comment
2020-11-08 12:06:41 -06:00
Tom
877bfcb308 Add support for Stretch product to Plugwise integration (#40108)
* Initial switch-group/stretch with failing wk_lisa_battery test

* Adding switch tests, but TypeErrors, needs more investigation

* Fixes and tests aligned

* Review updates

* Use const

* Comments

* Add stretch hostname for testing part

* Remove unused consts

* Revert guardings in line with -beta

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

* Update docstring

* Remove debug logging

* Fix for #42725 (incorrect entity namingi)

* Fix naming for gas interval

* Add missing CONF_USERNAME and use of it

* Change "dummy" to "class"

* Don't use "class"

* Fix CONF_USERNAME default, dummy and other consts

Co-authored-by: Bouwe Westerdijk <11290930+bouwew@users.noreply.github.com>
2020-11-08 11:09:43 -06:00
jan iversen
55cdec8c4e Add test for register configuration for modbus switch (#42604)
* check for false config in modbus tests.

add call to pytest.fail() if device cannot be defined.

* correct bit error in register read.

Only LSB is to be considered for checking ON/OFF

* Add register tests for modbus switch.

Copy the coil tests to work for register tests.

* allow test coverage to control switch.py

With both register and coil test the coverage is a log higher than 50%

* Correct minor bug in handling of register in modbus switch

* Add state_on/state_off test for modbus switch

* restore modbus switch exclusion from coverage

switch file coverage is only at 72%, ideally we want either 80%+ coverage on the file or 90%+ on the component itself which is only about 83% currently with this file included. this is so we keep the overall project coverage in 90%+.

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-11-08 10:42:45 -06:00
Erik Montnemery
51b4bc547c Bump hatasmota from 0.0.27 (#42802)
* Adjust tests

* Add test for deprecated discovery message

* Update status sensors

* Bump hatasmota to 0.0.27

* Update tests
2020-11-08 17:11:25 +01:00
epenet
2b2d7558de Add binary_sensor platform to onewire integration (#42832)
* Add binary_sensor platform to onewire integration

* Keep the same name

* Rework tests

* Rework tests
2020-11-07 20:42:20 -06:00
Pawel
df38c59dc8 Add config flow to epson and fix timeouts (#39697) 2020-11-07 18:15:29 +01:00
Paulus Schoutsen
15da7b3ca6 Cloud: Recover when internet is not available yet (#42877) 2020-11-06 12:12:18 +01:00
Allen Porter
a5da98680a Add nest climate support for SDM API (#42702)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-06 09:57:02 +01:00