Mick Vleeshouwer
3605c4f32f
Add Overkiz integration (with base + sensor entity) ( #62640 )
2021-12-23 08:34:35 -10:00
Eugenio Panadero
f422dd418b
Fix pvpc_hourly_pricing by changing data source and modernise integration ( #62591 )
2021-12-23 17:08:40 +01:00
Franck Nijhof
40f1d53475
Add sensor tests to Luftdaten ( #62663 )
2021-12-23 15:46:17 +01:00
Christian Manivong
772428e70f
Round Hue transition to steps of 100ms ( #62619 )
...
* Adding round() to transition before firing turn_on, turn_off #62608
2021-12-23 15:08:24 +01:00
Marcel van der Veldt
eb37668036
Fix Hue button events ( #62669 )
2021-12-23 14:24:37 +01:00
Tom Brien
fa7739937d
Provide clearer feedback in Coinbase when authentication fails ( #62627 )
2021-12-23 10:52:22 +01:00
Erik Montnemery
8e8e49d3e7
Add sensor device classes for apparent and reactive power ( #62010 )
2021-12-23 10:29:38 +01:00
Erik Montnemery
cb2c2d98c3
Remove unnecessary checks before calling os.makedirs ( #62576 )
2021-12-23 09:59:31 +01:00
Eduard van Valkenburg
259e454c3e
Azure Event Hub code improvements ( #62584 )
...
* code improvements to AEH
* moved hub back
2021-12-23 07:52:44 +01:00
Franck Nijhof
dc47cbd01b
Add input_button support to Google Assistant ( #62593 )
2021-12-23 07:38:35 +01:00
Franck Nijhof
99b2161365
Add input_button support to Alexa ( #62592 )
2021-12-23 07:36:45 +01:00
Allen Porter
23277181ca
Increase test coverage for google calendar ( #62648 )
...
* Increase test coverage for google calendar
Update tests to exercise the API responses, getting test coverage
to 97% for calendar.py
----------- coverage: platform linux, python 3.9.6-final-0 -----------
Name Stmts Miss Cover Missing
---------------------------------------------------------------------------
homeassistant/components/google/__init__.py 193 84 56% 92, 163-228, 238, 244-247, 254-262, 274, 298-299, 305-347, 387-392, 416-430, 435-437
homeassistant/components/google/calendar.py 122 4 97% 41, 45, 51, 135
---------------------------------------------------------------------------
TOTAL 315 88 72%
* Revert conftest changes
* Update typing errors found on CI
* Update python3.8 typing imports
* Remove commented out code
2021-12-23 07:31:56 +01:00
Franck Nijhof
6ef7539a31
Add base integration tests to Luftdaten ( #62594 )
2021-12-23 07:25:26 +01:00
J. Nick Koston
ef5e5c3f96
Dismiss existing discoveries when a HomeKit device is paired ( #62632 )
2021-12-22 19:40:36 -10:00
Franck Nijhof
c5d62ccc7e
Add input_button support to HomeKit ( #62590 )
2021-12-22 13:23:57 -10:00
G Johansson
566f631933
Implement config_Flow for Sensibo ( #60900 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-22 10:32:50 -10:00
Jc2k
06eec7adfc
Allow adding new devices to an Aqara hub via homekit_controller ( #62600 )
2021-12-22 08:49:58 -10:00
uvjustin
6e13605cad
Add get_image method to Stream ( #61918 )
...
* Add get_image method to Stream
* Add KeyFrameConverter class
2021-12-23 00:24:53 +08:00
Erik Montnemery
eda9291ca1
Improve google cast state reporting ( #62587 )
2021-12-22 14:54:36 +01:00
Dave T
38e95ca663
Use new enums for prometheus tests ( #62550 )
2021-12-22 14:31:20 +01:00
Dave T
d7de3fbfce
Use new enums in picnic tests ( #62549 )
2021-12-22 14:29:55 +01:00
Dave T
eb10ff47df
Use new enums in p1_monitor tests ( #62548 )
2021-12-22 14:28:22 +01:00
Erik Montnemery
2f8e65a9b0
Store deleted duplicated statistics in .storage ( #62574 )
2021-12-22 14:27:56 +01:00
Robert Hillis
75e8a2ec77
Use platform enums in plex tests ( #62561 )
2021-12-22 07:59:54 -05:00
Robert Hillis
432d48a4d7
Use platform enums in vizio tests ( #62555 )
2021-12-22 07:33:13 -05:00
Robert Hillis
d9788c2447
Use platform enums in rest tests ( #62564 )
2021-12-22 07:31:55 -05:00
Franck Nijhof
496165711d
Improve config flow Luftdaten ( #62589 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-22 13:00:51 +01:00
Franck Nijhof
60b2cdd069
Allow binary sensor state to be None ( #60193 )
2021-12-22 12:24:29 +01:00
Erik Montnemery
3323263c94
Flip behavior for grouped locks ( #62580 )
2021-12-22 12:14:45 +01:00
Robert Hillis
ee878513a7
Remove deprecated yaml config from squeezebox ( #62537 )
2021-12-22 12:03:31 +01:00
Robert Hillis
5e25df91b2
Use platform enums in utility_meter tests ( #62553 )
2021-12-22 10:43:33 +01:00
Dave T
563e6b3e80
Use new enums in modern_forms tests ( #62519 )
2021-12-22 10:04:12 +01:00
Dave T
e64352a7e0
Use new enums in modbus tests ( #62518 )
2021-12-22 10:03:11 +01:00
Dave T
f2ae7c0b92
Use new enums in mfi tests ( #62516 )
...
* 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 ( #62515 )
...
* 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 ( #62538 )
2021-12-22 08:43:17 +00:00
Dave T
c7b910ca33
Use new enums in knx tests ( #62513 )
...
* 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 ( #62128 )
...
* 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 ( #62547 )
2021-12-22 09:16:37 +01:00
Robert Hillis
ce9abdb520
Use platform enums in ring tests ( #62565 )
2021-12-21 21:01:01 -08:00
Robert Hillis
0c82a3c7b0
Use platform enums in withings tests ( #62551 )
2021-12-21 20:37:17 -08:00
Robert Hillis
1279592a98
Remove deprecated yaml config from vlc_telnet ( #62542 )
2021-12-21 23:37:46 +01:00
Robert Hillis
550fe18603
Use enums in tasmota tests ( #62150 )
...
* 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 ( #62517 )
2021-12-21 22:30:18 +01:00
Dave T
043a4b06d0
Use new enums in mqtt tests ( #62520 )
2021-12-21 22:04:32 +01:00
Dave T
03054bc430
Use new enums in mysensors tests ( #62521 )
2021-12-21 21:57:55 +01:00
Dave T
e0c5cbf1e0
Use new enums in nam tests ( #62522 )
2021-12-21 21:54:58 +01:00
Dave T
8166f37830
Use new enums in nzbget tests ( #62524 )
2021-12-21 21:51:10 +01:00
Dave T
33bddf275c
Use SensorStateClass Enums in fritzbox tests ( #62134 )
2021-12-21 19:17:23 +01:00
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
J. Nick Koston
c3a963e12a
Add switch to enable/disable music mode in Magic Home/flux_led ( #62320 )
2021-12-19 17:57:33 +01:00