Commit graph

9423 commits

Author SHA1 Message Date
Dave T
f2ae7c0b92
Use new enums in mfi tests ()
* Use new enums in mfi tests

* Code review: swap == for is
2021-12-22 10:01:00 +01:00
Dave T
a7ef983a31
Use new enums in litterrobot tests ()
* Use new enums in litterrobot tests

* Code review: swap == for is
2021-12-22 10:00:24 +01:00
Jc2k
d3d6965ba0
Support setting Aqara Hub Volume via homekit_controller () 2021-12-22 08:43:17 +00:00
Dave T
c7b910ca33
Use new enums in knx tests ()
* Use new enums in knx tests

* Code review: Swap == for is
2021-12-22 09:31:23 +01:00
schmyd
f135d77a27
Fix deconz light service parameter handling ()
* Only check presence of values, not their content

* Add tests

* Revert "Only check presence of values, not their content"

This reverts commit 046f0ed5fd.

* Validate existence of keys, not their values

* Properly handle cases of missing keys
2021-12-22 09:29:54 +01:00
Dave T
3663e0af41
Use enums for ozw tests () 2021-12-22 09:16:37 +01:00
Robert Hillis
ce9abdb520
Use platform enums in ring tests () 2021-12-21 21:01:01 -08:00
Robert Hillis
0c82a3c7b0
Use platform enums in withings tests () 2021-12-21 20:37:17 -08:00
Robert Hillis
1279592a98
Remove deprecated yaml config from vlc_telnet () 2021-12-21 23:37:46 +01:00
Robert Hillis
550fe18603
Use enums in tasmota tests ()
* Use enums in tasmota tests

* platform enums
2021-12-21 23:01:07 +01:00
Dave T
d82e8b6cc0
Use new enums in mobile_app tests () 2021-12-21 22:30:18 +01:00
Dave T
043a4b06d0
Use new enums in mqtt tests () 2021-12-21 22:04:32 +01:00
Dave T
03054bc430
Use new enums in mysensors tests () 2021-12-21 21:57:55 +01:00
Dave T
e0c5cbf1e0
Use new enums in nam tests () 2021-12-21 21:54:58 +01:00
Dave T
8166f37830
Use new enums in nzbget tests () 2021-12-21 21:51:10 +01:00
Dave T
33bddf275c
Use SensorStateClass Enums in fritzbox tests () 2021-12-21 19:17:23 +01:00
Ville Skyttä
9b437ef146
Remaining DeviceAutomationType bits ()
* Use DeviceAutomationType in missed tests/components/*

* Tighten device automation type hints
2021-12-21 20:05:48 +02:00
Dave T
498720f3c9
Use DeviceClass Enums in integration tests () 2021-12-21 19:03:39 +01:00
Dave T
1f62371f45
Use DeviceClass Enums in iotawatt tests () 2021-12-21 19:02:15 +01:00
Erik Montnemery
6151bbe5c8
Improve debug log when warning about a dip in total_increasing sensor () 2021-12-21 17:22:40 +01:00
Erik Montnemery
48b3d6e1c0
Save original + duplicate pairs when deleting duplicated statistics () 2021-12-21 15:24:36 +01:00
Erik Montnemery
cab2a74b5f
Don't pollute config dir with deleted duplicated statistics () 2021-12-21 14:27:35 +01:00
Erik Montnemery
684c380ce2
Use SensorDeviceClass enum in sensor device automations () 2021-12-21 14:07:01 +01:00
Franck Nijhof
e62148b8ff
Remove deprecated YAML configuration from Stookalert () 2021-12-21 12:53:19 +01:00
J. Nick Koston
4b30c9631f
Add set_music_mode service to flux_led for detailed music mode control () 2021-12-21 12:09:41 +01:00
Ville Skyttä
ea58432721
Use DeviceAutomationType in tests/components/[s-z]* () 2021-12-21 11:56:00 +01:00
J. Nick Koston
e0ef066022
Remove legacy migration and yaml from tplink ()
- tplink has been fully migrated to a config flow in previous
  versions.
2021-12-21 11:24:32 +01:00
Robert Hillis
a9c45fdcc0
Remove deprecated yaml config from philips_js () 2021-12-21 11:11:25 +01:00
Robert Hillis
101341f186
Remove deprecated yaml config from google travel time () 2021-12-21 11:00:11 +01:00
Robert Hillis
d1980e7351
Remove deprecated yaml config from honeywell () 2021-12-21 10:53:07 +01:00
Franck Nijhof
7cdfc7558e
Cleanup stale setup/import from Nuki ()
* Cleanup stale setup/import from Nuki

* Adjust tests
2021-12-21 10:31:41 +01:00
Robert Hillis
d73081f875
Remove deprecated yaml config from nuki () 2021-12-21 10:01:43 +01:00
J. Nick Koston
a7cae02725
Add support for changing Magic Home socket power restore state () 2021-12-20 20:35:50 -06:00
Ville Skyttä
f913961d63
Use DeviceAutomationType in tests/components/[m-r]* () 2021-12-20 22:29:22 +01:00
Ville Skyttä
5926961ed5
Use DeviceAutomationType in tests/components/[a-f]* () 2021-12-20 22:26:29 +01:00
Ville Skyttä
c5e6489475
Use DeviceAutomationType in tests/components/[h-l]* () 2021-12-20 22:18:53 +01:00
Aaron Bach
b051704c4b
Add reauth flow to Tile () 2021-12-20 13:11:26 -07:00
Erik Montnemery
a7a0cfd9e6
Make it possible to turn on audio only google cast devices () 2021-12-20 11:18:11 -08:00
ollo69
5a41251d45
Add config_flow to AndroidTV integration ()
Co-authored-by: Robert Hillis <tkdrob4390@yahoo.com>
2021-12-20 13:08:35 -06:00
Eric Severance
2dfd4c49da
Fix Non-thread-safe operation in wemo tests () 2021-12-20 12:56:56 -06:00
Dave T
168fefad88
Use DeviceClass Enums in homekit () 2021-12-20 12:53:44 -06:00
Matthias Alphart
6cf9f1a0cc
Update xknx to 0.18.14 ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-20 19:22:04 +01:00
Ville Skyttä
334c6c5c02
Make device automation type an enum () 2021-12-20 19:16:30 +01:00
Dave T
ac0f655fd6
Use DeviceClass Enums in devolo_home_network tests () 2021-12-20 18:09:28 +01:00
Franck Nijhof
fc6c0b1d4a
Add input_button ()
* Add input_button

* Update homeassistant/components/input_button/__init__.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Improve test coverage

* Add reload test: not affecting state

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-12-20 16:18:58 +01:00
Thomas Dietrich
28af0b4092
Statistics component typing ()
* Implement optional manually defined uniqueid

* Fix test case via mocked environment

* Add typing to statistics component

* Fix minor inconsistency

* Fix linter issues

* Execute hassfest

* Fix stricter mypy warnings

* Fix maxsplit warning

* Make binary value range explicit check

* Add basic typing to statistics tests

* Add empty config testcase

* Minor improvements

* Improve after comments

* Remove unnecessary test case

* Fix changed type

* Remove dict.get default
2021-12-20 14:53:51 +01:00
Erik Montnemery
c96606df68
Don't use the homeassistant media app when casting media () 2021-12-20 14:28:02 +01:00
Robert Hillis
e689afc0b3
Remove deprecated yaml config from dlna_dmr () 2021-12-20 13:56:45 +01:00
Robert Hillis
cabcb52fb3
Remove deprecated yaml config from co2signal () 2021-12-20 13:49:15 +01:00
J. Nick Koston
abc7dcf6bf
Add zones support to flux_led () 2021-12-20 13:45:34 +01:00