Commit Graph

31635 Commits (00a4b60f741967c6d93d2c49c2de5490264a356c)

Author SHA1 Message Date
Aaron Bach a2be1a4402
Bump pytile to 2021.12.0 (#62559) 2021-12-21 20:36:37 -08:00
Marvin Wichmann 42c7f1dd1f
Update xknx to version 0.18.15 (#62557) 2021-12-21 20:36:27 -08:00
jjlawren 4475e88707
Fix Sonos updating when entities are disabled (#62456)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-21 20:36:12 -08:00
GitHub Action cceedf766a [ci skip] Translation update 2021-12-22 00:14:51 +00:00
Robert Hillis 1279592a98
Remove deprecated yaml config from vlc_telnet (#62542) 2021-12-21 23:37:46 +01:00
Franck Nijhof 82013e68fb
Implement DataUpdateCoordinator in luftdaten (#62313)
* Implement DataUpdateCoordinator in luftdaten

* Typing additions/fixes

* Update homeassistant/components/luftdaten/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-21 22:51:47 +01:00
J. Nick Koston fddbecd2bf
Fix backwards vol.Coerce order in flux_led (#62509)
* Fix backwards vol.Coerce order in flux_led

- reference: https://github.com/home-assistant/core/pull/62429#discussion_r773045507

* fix a few more after updating head

* cleanup extra comma
2021-12-21 22:14:44 +01:00
Angelo Gagliano 600db0794d
Require RPi.GPIO and bump adafruit-circuitpython-dht to 3.7.0 in dht (#61751) 2021-12-21 22:09:28 +01:00
jjlawren cc6228f5c9
Bump soco to 0.25.1 (#62523) 2021-12-21 21:14:44 +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
micha91 0540c9455d
Use EntityCategory enum for MusicCast entity types (#62303) 2021-12-21 18:56:13 +01:00
Franck Nijhof eb292fbfbd
Deprecate BeagleBone Black GPIO integration (ADR-0019) (#62492) 2021-12-21 17:53:42 +01:00
Franck Nijhof 0e9282a404
Deprecate pi4ioe5v9xxxx integration (ADR-0019) (#62491) 2021-12-21 17:23:02 +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
Franck Nijhof 6d1c4a4f5f
Deprecate BH1750 integration (ADR-0019) (#62493) 2021-12-21 17:17:58 +01:00
Franck Nijhof cdc3dcc1e6
Deprecate DHT Sensor integration (ADR-0019) (#62495) 2021-12-21 17:16:21 +01:00
Franck Nijhof e8c972c55d
Deprecate Sensirion SHT31 integration (ADR-0019) (#62496) 2021-12-21 17:13:53 +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 684c380ce2
Use SensorDeviceClass enum in sensor device automations (#62480) 2021-12-21 14:07:01 +01:00
Franck Nijhof 69ba04be3c
Deprecate pcal9535a integration (ADR-0019) (#62487) 2021-12-21 13:24:08 +01:00
Franck Nijhof 6cdd341465
Deprecate mcp23017 integration (ADR-0019) (#62484) 2021-12-21 13:03:29 +01:00
Franck Nijhof e62148b8ff
Remove deprecated YAML configuration from Stookalert (#61007) 2021-12-21 12:53:19 +01:00
Franck Nijhof eb5a321a9f
Mark removed config schemas as removed (#61014) 2021-12-21 12:46:10 +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
Jonathan Keslin eb897c6f48
Add device registry information to Blink entities (#62449) 2021-12-21 12:06:08 +01:00
Robert Hillis ed9e17aeec
Clean up ssdp flow in dlna_dmr (#62466) 2021-12-21 12:02:21 +01:00
GJH 83f3666aa8
Add USB discover for Sonoff zigbee dongle plus (#62171) 2021-12-21 11:59:57 +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
Petru Paler 71852fd7a8
Update Solax library to 0.2.9 (#62464) 2021-12-21 11:06:44 +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
Mark Zachmann 64e3383b72
Use on_level when turning an Insteon dimmer on (#62321)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-21 10:37:29 +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
Eric Severance d60540d4f5
Cast types in wemo rather than converting (#62454) 2021-12-20 22:34:34 -06:00
J. Nick Koston a7cae02725
Add support for changing Magic Home socket power restore state (#62301) 2021-12-20 20:35:50 -06:00
GitHub Action babd753610 [ci skip] Translation update 2021-12-21 00:15:06 +00:00
Marcel van der Veldt 92454e3ac8
Change Hue availability blacklist logic a bit (#62446) 2021-12-20 16:09:14 -08:00
rikroe aaac1d4c5a
Bump bimmer_connected to 0.8.7 (#62435)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-12-20 23:25:26 +01:00
Marcel van der Veldt d22012ac43
bump aiohue to 3.0.7 (#62444) 2021-12-20 13:45:38 -08:00
epenet b483754ad3
Use new enums in sma (#62439)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 22:30:22 +01:00
epenet ce93364a36
Use new enums in zwave_js (#62432)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 15:18:15 -05:00
epenet bd63b707fc
Use attr** in tellstick sensor (#62422)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 21:17:37 +01:00
epenet 4176cb15f6
Use new enums in tado (#62423)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 21:16:12 +01:00
epenet 369041e0d2
Use new enums in tahoma (#62424)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 21:12:20 +01:00
Aaron Bach b051704c4b
Add reauth flow to Tile (#62415) 2021-12-20 13:11:26 -07:00
epenet 9eb1a44c03
Use new enums in tellduslive (#62426)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 21:04:24 +01:00
epenet 3724a4fb2f
Use new enums in tasmota (#62427)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 21:00:53 +01:00
epenet 69df7bc43d
Use new enums in ted5000 (#62425)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:59:50 +01:00
epenet 314dce914f
Use new enums in temper (#62428)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:58:54 +01:00
epenet 418221bd21
Use new enums in tesla_wall_connector (#62434)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:58:17 +01:00
epenet 666e14b11d
Use new enums in wled (#62431)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:57:05 +01:00
epenet 2f8e44641b
Use new enums in verisure (#62433)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:56:33 +01:00
epenet 6a5192b170
Use new enums in watttime (#62430)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:55:37 +01: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
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
epenet 6a81821399
Refactor kaiterra to use SensorEntityDescription (#61865)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 19:20:40 +01:00
Ville Skyttä 334c6c5c02
Make device automation type an enum (#62354) 2021-12-20 19:16:30 +01:00
Bram Kragten 2ddd45afd5
Update frontend to 20211220.0 (#62389) 2021-12-20 09:49:16 -08:00
epenet c04e181809
Use attr** in smarty (#62371)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:42:36 +01:00
Erik Montnemery ba818c0a95
Bump pychromecast to 10.2.2 (#62390) 2021-12-20 18:37:11 +01:00
epenet 07e1e174ac
Use attr** in somfy-mylink (#62381)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:33:58 +01:00
Eduard van Valkenburg afc42ff835
Bump brunt to 1.1.0 (#62386) 2021-12-20 18:31:59 +01:00
epenet ff7a0dabb2
Use new enums in somfy (#62378)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:28:52 +01:00
epenet 527d3a9e5b
Use new enums in solaredge (#62373)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:16:53 +01:00
epenet bae82d76b5
Use new enums in spider (#62396)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:06:33 +01:00
epenet 36a57b00d9
Use attr** in solax (#62397)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:05:04 +01:00
epenet de88d43068
Use new enums in subaru (#62403)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:03:52 +01:00
epenet 7da7a8434e
Use new enums in switchbot (#62404)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:03:08 +01:00
epenet ae3162bb6e
Use new enums in starline (#62407)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 17:55:37 +01:00
epenet bea1fbb4aa
Use new enums in supla (#62406)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 17:38:31 +01:00
epenet 5251c1b934
Use new enums in speedtestdotnet (#62405)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 11:16:20 -05:00
epenet 8bd03d520b
Use new enums in system_bridge (#62402)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 11:15:44 -05:00
epenet 071e29bf1d
Use new enums in systemmonitor (#62401)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 11:15:30 -05:00
epenet 23baf6e02a
Use new enums in syncthru (#62399)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 10:53:50 -05:00
epenet 75000c317b
Use new enums in switcher_kis (#62400)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 10:53:40 -05:00
epenet e5cf9b78bd
Use new enums in synology_dsm (#62398)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 10:53:21 -05:00
Nate Clark e2a95181ad
Update CODEOWNERS and correct iot class for Konnected (#62391) 2021-12-20 16:27:06 +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
Franck Nijhof ff062bd052
Cleanup stale setup from CO2Signal (#62395) 2021-12-20 16:07:13 +01:00
epenet 0cc1a7b9bd
Use new enums in solaredge_local (#62374)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 15:58:25 +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
epenet 2f0b73c4ad
Use new enums in solax (#62376)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 14:33:08 +01:00
Erik Montnemery c96606df68
Don't use the homeassistant media app when casting media (#62385) 2021-12-20 14:28:02 +01:00
epenet 43099f6eb0
Use _attr_attribution in synology_dsm (#62382)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 14:19:40 +01:00
epenet d147038cc5
Use new enums in soma (#62377)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 14:19:09 +01:00
epenet c7a3a0da9f
Use new enums in spc (#62384)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 14:18:48 +01:00
epenet c18c58f560
Use attr** in linode (#61882)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 14:17:23 +01:00
Robert Hillis e689afc0b3
Remove deprecated yaml config from dlna_dmr (#62344) 2021-12-20 13:56:45 +01:00
epenet b5de2c38b3
Use new enums in sms (#62372)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 13:54:10 +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
Aaron Bach 3d75befe0a
Replace SimpliSafe logged errors with `HomeAssistantError` in service handlers (#62352) 2021-12-20 13:35:45 +01:00
Thomas Dietrich d471e7e111
Fix typo in Kostal Plenticore integration entity (#62380) 2021-12-20 13:04:30 +01:00
Robert Hillis 31c0440b25
Use enums in smartthings (#62198) 2021-12-20 09:46:33 +01:00
Paulus Schoutsen a5c39e6fe4
Improve evil genius labs error handling (#62365) 2021-12-20 09:00:49 +01:00
Penny Wood 2d049e9b4a
Update version of iZone library to add some bug fixes (#61548) 2021-12-19 22:25:01 -08:00
Eric Severance f50dc10276
Use the Platform enum in wemo (#62153) 2021-12-19 21:11:40 -08:00
J. Nick Koston 70947b14a3
Improve SSDP callback performance (#62359) 2021-12-19 21:04:45 -08:00
Eric Severance e8096e7f51
Bump pywemo==0.7.0 (#62360) 2021-12-19 21:02:05 -08:00
Tobias Sauerwein f2e4613db5
Bump pyatmo to 6.2.1 (#62291) 2021-12-19 21:00:55 -08:00
jjlawren d64e7b1dc4
Support Plex resuming and playback offset (#61468) 2021-12-19 22:33:36 -06: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
GitHub Action 1f066a7b6f [ci skip] Translation update 2021-12-20 00:15:28 +00:00
Eric Severance 1318597370
Fix typing for wemo (#62157) 2021-12-19 18:09:30 -06:00
Robert Hillis 7919960570
Remove deprecated yaml config from broadlink (#62341) 2021-12-19 17:42:30 -06:00
AJ Schmidt 3c913d4e88
Re-add `binary_sensor` attribute for AlarmDecoder that was inadvertently removed (#62351) 2021-12-19 16:12:33 -06:00
Aaron Bach b77fc2e8cb
Ensure existing SimpliSafe websocket tasks are cancelled appropriately (#62347) 2021-12-19 15:05:13 -07:00
Aaron Bach fed18fe142
Replace OpenUV logged errors with `HomeAssistantError` in service handlers (#62349)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-19 23:02:51 +01:00
Aaron Bach dbb4c1b5f0
Replace RainMachine logged errors with HomeAssistantError in service handlers (#62350) 2021-12-19 14:58:34 -07: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
Aaron Bach 443003795b
Replace Guardian logged errors with HomeAssistantError in service handlers (#62342) 2021-12-19 22:14:08 +01:00
Aaron Bach 8eb33ede43
Fix bug in which SimpliSafe websocket won't reconnect on error (#62241) 2021-12-19 13:52:21 -07:00
J. Nick Koston cb26862d7a
Add zeroconf discovery to ecobee for non-homekit models (#62335) 2021-12-19 21:13:23 +01:00
Maikel Punie 9017d35e73
Fix velbus climate current temp (#62329) 2021-12-19 20:22:41 +01:00
Aaron Bach 1b17c295d6
Use migration helper in RainMachine (#62328) 2021-12-19 20:17:31 +01:00
J. Nick Koston b63c766ec0
Add homekit discovery to ecobee (#62334) 2021-12-19 20:17:19 +01:00
Thijs Walcarius f9e38cd08b
Fix missing brightness for Velbus entities (#62314)
* Fix #62169: missing brightness for Velbus-entities

* Use default implementation of supported_features

Co-authored-by: Thijs Walcarius <thijs.walcarius@ugent.be>
2021-12-19 20:14:56 +01:00
Aaron Bach 2bfcc5777d
Use migration helper in Ridwell (#62327) 2021-12-19 20:12:51 +01:00
Robert Hillis dfc93f6ab8
Remove deprecated yaml config from Efergy (#61520) 2021-12-19 18:44:26 +01:00
Thomas Schamm 78d028a013
Bumped boschshcpy 0.2.19 to 0.2.27 (#62326) 2021-12-19 18:24:37 +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
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
Robert Hillis 5d5b6bef55
Remove deprecated yaml config from opengarage (#61961) 2021-12-19 17:55:27 +01:00
J. Nick Koston 2f4c29cf1f
Move Magic Home/flux_led coordinator to its own module (#62324) 2021-12-19 17:52:48 +01:00
J. Nick Koston 9128693e71
Add reboot button to Magic Home/flux_led (#62323) 2021-12-19 17:48:42 +01:00
Pierre Ståhl 355f2f25d8
Support additional Apple TV device types (#61104) 2021-12-19 07:55:53 -06:00
Robert Hillis 4e2195baa1
Remove deprecated yaml config from environment canada (#61839) 2021-12-19 13:40:39 +01:00
Robert Hillis 867cbeedb9
Use enums in zwave (#62131)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-19 13:30:16 +01:00
epenet abb36ff45f
Use _attr_attribution in sense (#62181)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:27:23 +01:00
epenet 8bca984d61
Use _attr_** in openweathermap (#62179)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:25:51 +01:00
epenet 868a1c222c
Use _attr_attribution in poolsense (#62180)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:23:04 +01:00
epenet 340ffc96dc
Use new enums in sleepiq (#62203)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:15:09 +01:00
epenet 19fc15c3ac
Use new enums in saj (#62205)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:12:02 +01:00
epenet 1d1c91a4eb
Use _attr_** in slide (#62206)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:08:59 +01:00
epenet 6a489bb45a
Cleanup attr** usage in uptime (#62212)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:06:36 +01:00
Gage Benne 7d3dfeea64
Bump pydexcom to 0.2.2 (#62207) 2021-12-19 13:05:51 +01:00
epenet b0cfc76add
Use new enums in smarthab (#62208)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-19 13:04:52 +01:00
Klaas Schoute 779ce6216c
Change unload for P1 Monitor (#62213) 2021-12-19 13:03:06 +01:00
Robert Hillis d52caf77d5
Finish using enums in srp_energy (#62192) 2021-12-19 13:02:29 +01:00
Franck Nijhof 7fe895e554
Add unique ID to config entry in Luftdaten (#62176) 2021-12-19 12:42:52 +01:00
Robert Hillis b559d8845e
Use enums in zwave_js (#62130)
* Use enums in zwave_js

* oops
2021-12-19 12:28:09 +01:00
Matthias Alphart 1cbcb9e2fd
Don't add Fronius entities with unknown state (#62282) 2021-12-19 11:49:21 +01:00
Matthias Alphart 37bed64607
Silently retry Fronius inverter endpoint 2 times (#61826) 2021-12-19 11:37:14 +01:00
Andre Lengwenus 38cb477e7b
Cleanup tests for lcn events and device triggers (#61719)
* Return PchkConnectionManager instance from init_integration

* Removed ip and port from LCN host model identifer

* Fix syntax error

* Convert init_integration to a fixture

* Rename device model for host

* Instantiate MockPchkConnectionManager with arguments from tests

* Invert logic for testing devices
2021-12-19 10:38:33 +01:00
J. Nick Koston 615872a5d1
Align zeroconf matching with ZeroconfServiceInfo (#62133) 2021-12-19 02:09:21 -06:00
Allen Porter a63fa53275
Persist nest media events to disk backed storage (#61641)
* Persist nest media events to disk backed storage

Persist nest events in the media player to disk, targeting about ~500mb
per camera device as a cap. Events are stored in config/nest/event_media/.

Add a NestEventMediaStore is used for persistence. It has three main jobs:
- Read/write the key/value data that holds event data (event type, time, device, etc)
- Read/write media contents to disk
- Pick the filename for the media event based on device and event deatils

The nest event media manager library handles cache management and eviction, and by
default uses an in memory cache. Home Assistant nest integration now provides the
disk backed implementation, which is invoked by the nest library.

The store reads the event metadata key/value dict on startup, and then writes it
back with a short delay of 5 seconds to avoid unnecessary writes.

Future work planned includes:
- Possibly a small memory buffer for media objects themselves. This could make sense
  when adding thumbnails to the media player grid to avoid unnecessary fetches
- Transcoding mp4 clips to animated image previews

* Address style errors

* Cleanup from CI test/pylint/etc.

* Put media for each device into its own directory

* Update comments for media store

* Decrease # of events to lower disk requirements

Target more like 1k events, to reduce disk needs.

* Address PR feedback

* Update homeassistant/components/nest/media_source.py

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

* Ignore incorrect mypy in nest library

* Fix pylint errors

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-18 23:53:40 -08:00
J. Nick Koston e834382b9a
Add pico remote support to non-pro lutron caseta bridges (#61032) 2021-12-19 01:41:02 -06:00
J. Nick Koston a6b680cd32
Add support for enabling/disabling cloud access in flux_led (#61138)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-19 00:59:16 -06:00
J. Nick Koston d7c5e41802
Add hardware version to bond (#62256) 2021-12-18 22:30:44 -08:00
Simone Chemelli 90345b1cf2
Fix logging for Shelly climate platform (#62264)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-18 22:28:26 -08:00
J. Nick Koston 4572fec680
Bump flux_led to 0.27.8 to fix discovery of older devices (#62292) 2021-12-18 22:27:34 -08:00
J. Nick Koston 7764c957ba
Avoid setting nexia humidity to the same value since it causes the api to fail (#61843) 2021-12-18 22:26:19 -08:00
J. Nick Koston 03477e0ae6
Split august motion and image capture binary sensors (#62154) 2021-12-18 22:25:30 -08:00
Aaron Bach ebfe9aa384
Add a switch to opt-in to/opt-out of the next Ridwell pickup (#62293)
* Add buttons to opt into/out of the next Ridwell pickup

* Buttons finished

* Coverage

* better name

* Move to switch

* Clean up

* Coverage

* Use correct exception
2021-12-18 23:06:17 -07:00
J. Nick Koston a4c101b021
Add network support to flux_led discovery (#61132) 2021-12-18 21:55:57 -08:00
Paulus Schoutsen 6fd617a89e
Bump ring to 0.7.2 (#62299) 2021-12-18 23:41:59 -06:00
Michael Chisholm f280b03df8
Update async-upnp-client library to 0.23.1 (#62298) 2021-12-18 23:41:32 -06:00
epenet 931d51949d
Use new DeviceClass enums in homekit (#61665)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-18 19:07:04 -06:00
GitHub Action d3710c7ba6 [ci skip] Translation update 2021-12-19 00:14:45 +00:00
Aaron Bach 98c398cc37
Bump aioridwell to 2021.12.2 (#62284) 2021-12-18 16:26:37 -07:00
micha91 ba79de56ab
Move Device Class definition to Home Assistant for MusicCast Select Entities (#61218)
* Add a device class mapping to the consts to map from capability IDs to HA device classes.

* Use python3.8 compliant typing

* Fix return type

* Use relative import for musiccast const
2021-12-19 00:18:42 +01:00
J. Nick Koston 4dc70536b6
Fix Non-thread-safe operation in rflink binary_sensor (#62286) 2021-12-19 00:14:41 +01:00
J. Nick Koston b05149fc28
Fix Non-thread-safe operation in zwave node_added (#62287) 2021-12-18 23:17:54 +01:00
Chris Talkington 99d1e015ad
Update rokuecp to 0.8.5 (#62285) 2021-12-18 14:50:49 -06:00
starkillerOG 58bcf275f5
Add xiaomi miio gateway hw version (#62274) 2021-12-18 17:46:16 +01:00
Robert Hillis 78f2866f98
Finish using enums in wled (#62189) 2021-12-18 16:17:55 +01:00
Martin Hjelmare ff530dce0d Fix fitbit no SSL URL handling (#62270) 2021-12-18 15:00:07 +01:00
epenet 93cba53860
Use new enums in smappee (#62209)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-18 14:56:13 +01:00
Robert Hillis af631b90e5
Use enums in statistics tests (#62191) 2021-12-18 14:54:26 +01:00
epenet a39f0643e8
Use new enums in smart_meter_texas (#62210)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-18 14:53:50 +01:00
epenet ac0fa3cbf8
Use new enums in smarttub (#62216)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-18 14:51:39 +01:00
J. Nick Koston 051a6499b8
Add software version to screenlogic (#62255) 2021-12-18 14:49:29 +01:00
starkillerOG c40b02896a
Hyperion add entity category (#62268) 2021-12-18 14:45:53 +01:00
starkillerOG 503a5cbd44
Motion blinds add entity category (#62266) 2021-12-18 14:23:34 +01:00
Franck Nijhof e2c65a3034
Upgrade tailscale to 0.1.6 (#62267) 2021-12-18 14:18:31 +01:00
starkillerOG c178fd0cc3
Add entity category to DSMR (#62262) 2021-12-18 13:53:21 +01:00
starkillerOG ca9b26e829
bump pynetgear to 0.8.0 (#62261) 2021-12-18 13:29:52 +01:00
starkillerOG c4879d71a1
Add Netgear entity category and configuration url (#62260)
* add entity category

* add configuration_url

* add import
2021-12-18 12:34:16 +01:00
GitHub Action 5fefb5985f [ci skip] Translation update 2021-12-18 00:13:26 +00:00
Teemu R b50a5d32a7
Remove myself from yeelight codeowners (#62239) 2021-12-17 18:00:04 -06:00
Diego Elio Pettenò 6ce99bfc80
Bump async-upnp-client to 0.23.0 (#62223) 2021-12-17 16:57:02 -06:00
epenet c59ae54dc8
Use new enums in sonos (#62202) 2021-12-17 13:35:21 -06:00
jkuettner 3b97c544b1
Fix "vevent" KeyError in caldav component (#61718) 2021-12-17 16:54:19 +01:00
Aaron Bach a9fc750fe3
Fix spurious RainMachine config entry reload (#62215) 2021-12-17 08:31:23 -07:00
Eric Severance d874eb261d
Fix Wemo create task for awaitable (#62159) 2021-12-17 16:23:53 +01:00
Maximilian 703b689183
Address late review of nina (#61915) 2021-12-17 16:14:59 +01:00
Hans Oischinger ed1ce7d9f9
Add vicare strings (#61593)
* Add vicare strings

* Remove duplicates

* Remove duplicates from english translation

* Add missing strings
2021-12-17 15:43:41 +01:00
Klaas Schoute 177ffa3aa6
Upgrades P1 Monitor to v1.0.1 (#62201) 2021-12-17 15:23:04 +01:00
Peeter N 571b245b7e
Add battery entity for Maxcube devices (#58699) 2021-12-17 15:02:28 +01:00
Kim Frellsen 9cd82e0f00
Update fortios device_tracker (#61970)
* FortiOS 7.0 support

Added support for FortiOS 7.0 and retaining FortiOS 6.4 support.
Since an API was deprecated in FortiOS 7.0 and replace by a new API the integration now also support FortiOS 7.0.
It is planned to deprecate the support for FortiOS 6.4 in a year

* updated requirement to fortios

* Update device_tracker.py

indentation fix

* Update device_tracker.py

run flake8 fixes

* flake8 fixes

* Update device_tracker.py

black fixing line breaks

* Update device_tracker.py

black fixes

* Update device_tracker.py

linter fixes

* Update device_tracker.py

linter fixes

* Update device_tracker.py

linter fix

* Update device_tracker.py

removed comment that pylint does not like :-~

* Update homeassistant/components/fortios/device_tracker.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/fortios/device_tracker.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/fortios/device_tracker.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update device_tracker.py

to resolve double guard for supported versions.

* updated fortios device tracker

Deprecated old api.
cleaned up code.
better checking with try-catch
removed unnecessary error output.

* Update device_tracker.py

lint compliance.

* Update device_tracker.py

lint updates

* Update device_tracker.py

lint updates

* Update device_tracker.py

lint updates

* Update device_tracker.py

lint updates

* Update device_tracker.py

updated to use awesomeversion component.

* Update device_tracker.py

pylint updates

* Update device_tracker.py

pylint updates

* Clean up

* Simplify

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-17 14:20:23 +01:00
Erik Montnemery f7f1d9b15d
Fix threading error in litejet (#62185) 2021-12-17 13:16:44 +01:00
Daniel Hjelseth Høyer 9c749682bf
Add Tibber peak hour, monthly consumption and monthly cost sensors (#61853)
* Tibber, Consumption data

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tibber sensors

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Tibber, Consumption data

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Add peak_hour_time

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-12-17 12:55:16 +01:00
Robert Hillis 1c15e36afc
Use enums in wallbox (#61997) 2021-12-17 12:46:21 +01:00
Erik Montnemery 6b9447e3a2
Fix threading error in demo vacuum (#62165) 2021-12-17 12:45:53 +01:00
epenet 8cde2e805b
Use new SensorDeviceClass enum in climacell (#61362)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-17 12:44:29 +01:00
Ernst Klamer e771421ed0
Move Solarlog state to entity description (#62093)
* Move value to const

* Move value to const

* remove cast

* Remove Statetype import

* Add in and output for callable

* fix mypy

* Add int to callable

* fix callable

* Only convert value

* Add datetime import

* Update homeassistant/components/solarlog/const.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-17 12:40:32 +01:00
Aidan Timson 0f2a3c074e
Force Lyric token refresh on first authentication failure (#62100) 2021-12-17 12:33:41 +01:00
Erik Montnemery 8c777011b6
Fix threading error in qwikswitch (#62173) 2021-12-17 12:03:29 +01:00
Erik Montnemery 9164a74fcc
Fix threading error in zha (#62170) 2021-12-17 11:42:15 +01:00
Marcel van der Veldt ad171944da
Add guard in call to activate_scene in Hue (#62177) 2021-12-17 10:50:10 +01:00
Ian a6cfbd4072
Nextbus upcoming sort as integer (#61416) 2021-12-17 09:39:55 +01:00
sindudas 67255d4b52
Update ebusdpy version (#59899) 2021-12-17 09:34:27 +01:00
Simone Chemelli 72e1fa1392
Improve availability for Shelly Valve (#62129) 2021-12-17 09:16:02 +01:00
Allen Porter beb824c452
Bump google-nest-sdm to 0.4.9 (#62160) 2021-12-17 09:07:51 +01:00
J. Nick Koston ccf8dcd14a
Fix Non-thread-safe operation in logbook (#62148) 2021-12-17 08:19:07 +01:00
J. Nick Koston 8bf58df624
Fix Non-thread-safe operation in homekit light events (#62147) 2021-12-17 08:17:32 +01:00
GitHub Action d4f8a7c056 [ci skip] Translation update 2021-12-17 00:14:01 +00:00
Dave T ec4a9be4e6
Use EntityCategory Enums in elkm1 (#62123) 2021-12-16 23:41:17 +01:00
Robert Hillis b7ece5ae00
Use enums in pvpc_hourly_pricing (#62076) 2021-12-16 23:27:15 +01:00
Robert Hillis da60680b2f
Use enums in rachio (#62056) 2021-12-16 23:26:53 +01:00
Matthias Alphart 2f3f64c339
Use DeviceClass Enum in KNX schema (#61960) 2021-12-16 23:25:34 +01:00
Robert Hillis 72462b5dd1
Use enums in satel_integra (#62048) 2021-12-16 23:24:46 +01:00
epenet dce9d551f8
Use new SensorDeviceClass in juicenet (#61828) 2021-12-16 23:13:26 +01:00
epenet 42c7c38515
Use new enums in nam (#61940) 2021-12-16 23:05:34 +01:00
epenet 61cdc04f3f
Use new enums in nanoleaf (#61938) 2021-12-16 23:03:37 +01:00
epenet e20029d87f
Use attr** in meteoalarm (#61895)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-16 23:01:31 +01:00
epenet 863a139b6f
Use _attr_attribution in goalzero (#61890)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-16 23:00:04 +01:00
epenet d26454a313
Use _attr_attribution in flipr (#61889)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-16 22:59:29 +01:00
epenet 98e1b7c95d
Use attr** in linux-battery (#61883)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-16 22:59:05 +01:00
epenet 6778e4058e
Use attr** in lightwave (#61881)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-16 22:57:15 +01:00
epenet bb538a9782
Use new enums in motion_blinds (#61931) 2021-12-16 22:47:23 +01:00
epenet b3105dc218
Use new enums in nuki (#61949) 2021-12-16 22:45:48 +01:00
epenet c4c9dc8cee
Use new enums in neurio_energy (#61953) 2021-12-16 22:45:27 +01:00
epenet 39590f9917
Use new enums in nissan_leaf (#61951) 2021-12-16 22:44:50 +01:00
epenet 81ea811b74
Use new enums in nextbus (#61954) 2021-12-16 22:44:17 +01:00
epenet 890dcfee11
Use new enums in netgear_lte (#61955) 2021-12-16 22:42:52 +01:00
epenet 4bfc3eb22f
Use new enums in netatmo (#61941) 2021-12-16 22:42:29 +01:00
Robert Hillis 6f54636baf
Use enums in rainforest_eagle (#62057) 2021-12-16 22:38:26 +01:00
Robert Hillis 0ee5691f77
Use enums in roomba (#62045) 2021-12-16 22:36:01 +01:00
Robert Hillis a16f963605
Use enums in pi_hole (#62064) 2021-12-16 22:34:59 +01:00
Eduard van Valkenburg 6ba11fe6c7
Brunt dependency bump to 1.0.2 (#62014) 2021-12-16 22:33:03 +01:00
Robert Hillis 83cb2d11d5
Use enums in xiaomi_miio (#61979) 2021-12-16 22:31:51 +01:00
Robert Hillis 32e1a3d063
Use enums in Point (#62070) 2021-12-16 22:29:54 +01:00
Robert Hillis 74a9f8e81d
Use enums in opentherm_gw (#62084) 2021-12-16 22:28:55 +01:00
Robert Hillis 10e5780fbb
Use enums in Omnilogic (#62080) 2021-12-16 22:26:49 +01:00
Robert Hillis 2ab13f3603
Use enums in openweathermap (#62086) 2021-12-16 22:25:49 +01:00
Robert Hillis 5a268419f5
Use enums in pvoutput (#62073) 2021-12-16 22:25:04 +01:00
Robert Hillis 438fd79d23
Use enums in p1_monitor (#62061) 2021-12-16 22:24:06 +01:00
Robert Hillis b30dd6857f
Use enums in opengarage (#62083) 2021-12-16 22:21:21 +01:00
Robert Hillis 06f670272f
Use enums in obihai (#62078) 2021-12-16 22:18:28 +01:00
rianadon 3b3ab2c19c
Handle None values in weather entity forecast (#61467) 2021-12-16 22:01:32 +01:00
epenet 329d90b568
Use new enums in nzbget (#61946) 2021-12-16 21:42:05 +01:00
Maximilian 7a1b05d166
Add missing timezone information (#62106) 2021-12-16 21:39:49 +01:00
Franck Nijhof 4de4cc7bd4
Small cleanup of Luftdaten constants (#61757) 2021-12-16 21:25:24 +01:00
Franck Nijhof 0dbd948867
Add Open-Meteo integration (second attempt) (#61742) 2021-12-16 21:12:33 +01:00