Commit Graph

10449 Commits (9b437ef1466f213d819102238630152dc1b49c43)

Author SHA1 Message Date
Ville Skyttä 9b437ef146
Remaining DeviceAutomationType bits (#62508)
* 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 (#62511) 2021-12-21 19:03:39 +01:00
Dave T 1f62371f45
Use DeviceClass Enums in iotawatt tests (#62512) 2021-12-21 19:02:15 +01:00
Franck Nijhof 07e034c1c6
Add iif (immediate if) template function/filter (#61428) 2021-12-21 17:25:07 +01:00
Erik Montnemery 6151bbe5c8
Improve debug log when warning about a dip in total_increasing sensor (#62501) 2021-12-21 17:22:40 +01:00
Erik Montnemery 48b3d6e1c0
Save original + duplicate pairs when deleting duplicated statistics (#62498) 2021-12-21 15:24:36 +01:00
Erik Montnemery cab2a74b5f
Don't pollute config dir with deleted duplicated statistics (#62489) 2021-12-21 14:27:35 +01:00
Erik Montnemery cbcd6d458e
Assert current state of script condition validation in tests (#62486) 2021-12-21 14:10:05 +01:00
Erik Montnemery 684c380ce2
Use SensorDeviceClass enum in sensor device automations (#62480) 2021-12-21 14:07:01 +01:00
Franck Nijhof e62148b8ff
Remove deprecated YAML configuration from Stookalert (#61007) 2021-12-21 12:53:19 +01:00
Erik Montnemery e2fca2e305
Support shorthand templates in condition actions (#61177)
* Support shorthand templates in condition actions

* Fix validation message

* Fix tests
2021-12-21 12:19:31 +01:00
J. Nick Koston 4b30c9631f
Add set_music_mode service to flux_led for detailed music mode control (#62429) 2021-12-21 12:09:41 +01:00
Ville Skyttä ea58432721
Use DeviceAutomationType in tests/components/[s-z]* (#62450) 2021-12-21 11:56:00 +01:00
Brynley McDonald 26dc526234
Add slugify as a template filter (#58724) 2021-12-21 11:35:54 +01:00
J. Nick Koston e0ef066022
Remove legacy migration and yaml from tplink (#62457)
- 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 (#62471) 2021-12-21 11:11:25 +01:00
Robert Hillis 101341f186
Remove deprecated yaml config from google travel time (#62468) 2021-12-21 11:00:11 +01:00
Robert Hillis d1980e7351
Remove deprecated yaml config from honeywell (#62469) 2021-12-21 10:53:07 +01:00
Franck Nijhof 7cdfc7558e
Cleanup stale setup/import from Nuki (#62476)
* 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 (#62470) 2021-12-21 10:01:43 +01:00
J. Nick Koston a7cae02725
Add support for changing Magic Home socket power restore state (#62301) 2021-12-20 20:35:50 -06:00
Ville Skyttä f913961d63
Use DeviceAutomationType in tests/components/[m-r]* (#62443) 2021-12-20 22:29:22 +01:00
Ville Skyttä 5926961ed5
Use DeviceAutomationType in tests/components/[a-f]* (#62440) 2021-12-20 22:26:29 +01:00
Ville Skyttä c5e6489475
Use DeviceAutomationType in tests/components/[h-l]* (#62441) 2021-12-20 22:18:53 +01:00
Aaron Bach b051704c4b
Add reauth flow to Tile (#62415) 2021-12-20 13:11:26 -07:00
Erik Montnemery a7a0cfd9e6
Make it possible to turn on audio only google cast devices (#62420) 2021-12-20 11:18:11 -08:00
ollo69 5a41251d45
Add config_flow to AndroidTV integration (#54444)
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 (#62418) 2021-12-20 12:56:56 -06:00
Dave T 168fefad88
Use DeviceClass Enums in homekit (#62218) 2021-12-20 12:53:44 -06:00
Matthias Alphart 6cf9f1a0cc
Update xknx to 0.18.14 (#62411)
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 (#62354) 2021-12-20 19:16:30 +01:00
Dave T ac0f655fd6
Use DeviceClass Enums in devolo_home_network tests (#62117) 2021-12-20 18:09:28 +01:00
Franck Nijhof fc6c0b1d4a
Add input_button (#62008)
* 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 (#60997)
* 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 (#62385) 2021-12-20 14:28:02 +01:00
Robert Hillis e689afc0b3
Remove deprecated yaml config from dlna_dmr (#62344) 2021-12-20 13:56:45 +01:00
Robert Hillis cabcb52fb3
Remove deprecated yaml config from co2signal (#62343) 2021-12-20 13:49:15 +01:00
J. Nick Koston abc7dcf6bf
Add zones support to flux_led (#61072) 2021-12-20 13:45:34 +01:00
Paulus Schoutsen a5c39e6fe4
Improve evil genius labs error handling (#62365) 2021-12-20 09:00:49 +01:00
Eric Severance f50dc10276
Use the Platform enum in wemo (#62153) 2021-12-19 21:11:40 -08:00
Eric Severance e8096e7f51
Bump pywemo==0.7.0 (#62360) 2021-12-19 21:02:05 -08:00
Allen Porter 6ae7b928ea
Add a camera specific logger to help diagnose stream errors (#61647)
* Add a camera specific logger to help diagnose stream errors

Add a camera specific logger to help users associate stream errors with a particular camera.
Issue #54659

* Apply code review feedback

* Update package name based on manual testing
2021-12-19 19:42:37 -08:00
Eric Severance 1318597370
Fix typing for wemo (#62157) 2021-12-19 18:09:30 -06:00
Robert Hillis 1baba2a807
Remove deprecated yaml config from flux_led (#61844)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-19 15:24:04 -06:00
Allen Porter 368e16f189
Simplify nest test patch using new keyword (#62336) 2021-12-19 11:45:04 -08:00
Robert Hillis dfc93f6ab8
Remove deprecated yaml config from Efergy (#61520) 2021-12-19 18:44:26 +01:00
Allen Porter 647febd7d8
Mark camera unavailable when keepalive stream fails (#62294)
* Mark camera unavailable when keepalive stream fails

Add a listener in stream that notifies camera when the stream state has changed, and
use that to inform the camera `available` property. Update the property to be set
only from the main loop where it is read to reduce thread safety races.

Issue #54659

* Fix pylint import related errors

* Address lint naming errors

* Apply suggestions from code review

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

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-19 09:09:59 -08:00
Ville Skyttä 1ec8619687
Make core config source an enum (#61966)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-19 18:02:52 +01:00
Robert Hillis 1bd904b5b5
Use enums for rest tests (#62197)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-19 18:01:33 +01:00
Robert Hillis b869b680fb
Remove deprecated yaml config from aurora abb (#62317) 2021-12-19 18:00:49 +01:00