Commit graph

5988 commits

Author SHA1 Message Date
Diego Elio Pettenò
6b21df9053
Expose Dyson PureCool filter life remaining percentage () 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 ()
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 ()
* 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 () 2020-11-09 14:50:54 +01:00
Aaron Bach
3707b72a37
Deprecate YAML config for AirVisual (0.119 removal) () 2020-11-09 13:41:04 +01:00
Martin Hjelmare
6c5ef0970a
Add ozw config flow add-on management ()
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 () 2020-11-09 12:51:01 +01:00
Guido Schmitz
804579cd54
Update devolo-home-control-api to 0.16.0 () 2020-11-09 12:17:35 +01:00
Matthew Donoughe
bc4bbaf6ef
Add device trigger support for device trackers ()
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 () 2020-11-09 11:35:38 +01:00
Paulus Schoutsen
e477e94ddd
Fix flaky epson CI () 2020-11-09 10:45:17 +01:00
springstan
30b94892c4
Use strings instead of f-strings for constants () 2020-11-09 10:09:53 +01:00
Andrew Marks
42cdbc7e1d
Correct logging and add test case for sharkiq ()
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 () 2020-11-09 08:32:21 +01:00
On Freund
5a7e4b4dae
Add zone_entity_id to Risco events ()
* 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 ()
* 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 ()
* 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 )

* Update docstring

* Remove debug logging

* Fix for  (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 ()
* 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 ()
* 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 ()
* 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 () 2020-11-07 18:15:29 +01:00
Paulus Schoutsen
15da7b3ca6
Cloud: Recover when internet is not available yet () 2020-11-06 12:12:18 +01:00
Allen Porter
a5da98680a
Add nest climate support for SDM API ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-06 09:57:02 +01:00
Jeff Irion
cfc8e96b15
Handle overriding of default apps for Android TV ()
* Handle overriding of default apps for Android TV

* Fix comment
2020-11-05 16:41:22 +01:00
epenet
38495057a5
Cleanup onewire tests ()
* Cleanup onewire tests

* Cleanup onewire tests
2020-11-05 10:37:35 -05:00
Anders Melchiorsen
650c57db5b
Fix async_track_utc_time_change firing too early () 2020-11-05 16:34:56 +01:00
Diederik van den Burger
60234ecf40
Add hdmi input attribute to AndroidTV ()
* bumps androidtv to 0.0.53

* add hdmi_input attribute to androidtv

* update tests for hdmi_input attribute

* chore: update docstrings
2020-11-05 14:36:46 +01:00
epenet
c7cdad2b5a
Default some entities to disabled () 2020-11-04 10:08:50 +01:00
Erik Montnemery
56ee99372d
Force color or white mode exclusivity for Tasmota lights () 2020-11-04 10:03:32 +01:00
J. Nick Koston
9e0043fb17
Fix rest sensors with resource templates () 2020-11-04 08:52:47 +01:00
Niccolo Zapponi
5ddf99e496
Add support for OpenWeatherMap One Call API () 2020-11-03 08:37:30 -10:00
Paulus Schoutsen
7719e878f9
Migrate system health to use integration_platform () 2020-11-03 14:28:55 +01:00
Allen Porter
89a5c9fcac
Add image support to nest SDM api () 2020-11-03 09:31:43 +01:00
Jason Hunter
5a4c1dbcc4
Add DPI Restriction switch to UniFi integration ()
* initial implementation for controlling DPI restrictions

* address PR review comments and add DataUpdateCoordinator

* fix existing tests against new lib version

* add tests for DPI switches

* bump aiounifi

* listen to events instead of polling

* fix tests

* remove useless test

* bump aiounifi

* rename device to UniFi Controller per PR feedback
2020-11-03 08:36:37 +01:00
Paulus Schoutsen
ebe3cbc058
Drop usage of asynctests () 2020-11-02 19:57:24 +01:00
Shay Levy
f45075eeb5
Use own CoAP lib and support for multicast updates ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-02 16:46:34 +01:00
Paulus Schoutsen
0fb587727c
Add initial blueprint support ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-11-02 15:00:13 +01:00
Michael
8d9a844e84
Add verify_ssl option for connection setup to synology_dsm () 2020-11-02 14:23:16 +01:00
Raman Gupta
098dead16d
Fix Vizio host string for zeroconf discovery () 2020-11-02 13:08:36 +01:00
Alexei Chetroi
8868028dcd
Bump up ZHA dependencies ()
* Bump up ZHA dependencies

* Fix tests because of zigpy request signature change
2020-11-01 11:05:55 -05:00
Lindsay Ward
181811b7b8
Fix typo exceeded, change to exceed, in HomeKit () 2020-11-01 03:51:56 -10:00
taiyeoguns
9fc92ab04e
Remove classes in nx584 tests () 2020-11-01 13:27:33 +01:00
springstan
c7fbbbe935
Allow saving zero precision option in Opentherm_gw ()
* Allow saving zero precision option in Opentherm_gw

* Add default 0 back for precision option

* Adjust config flow test for zero precision
2020-10-31 16:19:17 +01:00
Adrian Suwała
d67d8e76dd
Remove redundant mock_storage fixture from mqtt_statestream tests () 2020-10-31 15:28:06 +01:00
Erik Montnemery
62b5279d86
Add WS command to remove a Tasmota device () 2020-10-30 09:56:41 +01:00
Adrian Suwała
6011756e90
Rewrite mfi unittest tests to pytest () 2020-10-30 09:13:33 +01:00
J. Nick Koston
2bbd2a6e70
Reduce complexity of storage writes ()
* Reduce complexity of storage writes

* add test

* stop hass

* workaround bad test
2020-10-29 22:35:51 -05:00
Erik Montnemery
153f05afde
Bump hatasmota to 0.0.25 () 2020-10-30 00:13:49 +01:00
Paulus Schoutsen
7027b01a29
Fix broken time trigger test () 2020-10-29 22:34:06 +01:00
Chris Talkington
708423e0f8
Remove YAML config for roku () 2020-10-29 09:51:48 +01:00