Commit Graph

33588 Commits (6e5ae3e2e444d985218e3fed89f1c26e779e6dba)

Author SHA1 Message Date
Aaron Bach 83b7fac9a4
Bump simplisafe-python to 2022.02.1 (#66140) 2022-02-09 09:20:57 +01:00
Allen Porter 9446b39ae0
Bump google-nest-sdm to 1.7.0 (#66145) 2022-02-09 09:12:49 +01:00
Paulus Schoutsen e6e49dcb07
VLC Telnet to sign all HASS URLs (#66123) 2022-02-08 17:13:14 -08:00
Paulus Schoutsen f2843283bf
Roku to sign all HASS urls (#66122) 2022-02-08 18:55:52 -06:00
GitHub Action fb96c31a27 [ci skip] Translation update 2022-02-09 00:23:56 +00:00
Duco Sebel f2fe091979
Allow HomeWizard devices with disabled api to show up in discovery (#65295) 2022-02-08 14:51:28 -08:00
Dave T 5ebc02cef6
Fix generic camera typo in attr_frame_interval (#65390) 2022-02-08 14:47:36 -08:00
Paulus Schoutsen 716a1e2a64
Add camera media source (#65977) 2022-02-08 14:32:02 -08:00
Franck Nijhof b216f6f448
Fix Plugwise notification sensor (#66116) 2022-02-08 14:12:22 -08:00
Franck Nijhof b9f21d4e07
Improve typing of Spotify (#66109)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 23:07:13 +01:00
Robert Svensson b012b79167
Adapt deCONZ number platform to align with updated design of binary sensor and sensor platforms (#65248)
* Adapt number to align with binary sensor and sensor platforms

* Make number tests easier to expand
2022-02-08 23:03:37 +01:00
Erik Montnemery 911e488d48
Fix ENTITY_CATEGORIES_SCHEMA (#66108)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-08 14:00:53 -08:00
Erik Montnemery 009b31941a
Support restoring SensorEntity native_value (#66068) 2022-02-08 14:00:26 -08:00
Patrik Lindgren f8a84f0101
Add diagnostics for Tradfri platform (#66092)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 22:05:33 +01:00
epenet 86ab500afd
Add Renault hvac sensors (#65993)
* Add hvac sensors to renault

* Adjust fixtures

* Adjust tests

* Use icon_fn

* Use lambda

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-08 22:02:45 +01:00
Erik Montnemery 55d8314093
Fix cleanup of MQTT debug info (#66104) 2022-02-08 12:49:25 -08:00
J. Nick Koston 07b3d23835
Improve wiz performance (#66105) 2022-02-08 21:34:52 +01:00
Sander Jochems d574e54fd8
Fivem code quality improvements (#66086)
* specify config type

* move coordinator outside try block

* rename gamename to game_name

* remove log in __init__

* Remove logging and minify update

* Add types to parameters

* Remove name from device

* Remove update listener

* Remove status icon

* Dont allow duplicate entries

* Use default translation string

* Remove online and port from coordinator
2022-02-08 20:42:55 +01:00
Franck Nijhof dad1dbeb6e
Cleanup hass.data in Plugwise (#66096) 2022-02-08 21:17:49 +02:00
J. Nick Koston d62e9c2b92
Loosen wiz discovery matching (#66095) 2022-02-08 19:57:21 +01:00
Franck Nijhof 41a4d40b71
Reuse existing coordinator entity update in Plugwise platforms (#66079)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 19:54:10 +01:00
Ben Edmunds c93d389544
Bump async-upnp-client to 0.23.5 (#65922) 2022-02-08 20:27:16 +02:00
jjlawren a7fd477c64
Refactor Sonos polling (#65722)
* Refactor Sonos polling

Explicitly rename fallback polling
Catch soco exceptions centrally where possible
Create SonosPollingEntity subclass
Remove unnecessary soco_error fixture argument
Remove unnecessary polling in update_volume()
Adjust log levels and wording
Set explicit timeout on library

* Adjust logging to use raised exceptions

* Simplify availabiliity checks when using built-in poller

* Fix typing for return values
2022-02-08 12:17:05 -06:00
Franck Nijhof 4efebcb86c
Use upstream device information for Plugwise (#66074) 2022-02-08 19:08:01 +01:00
Mick Vleeshouwer 199c8fef40
Fix MyFox Camera Shutter entity in Overkiz integration (#66088) 2022-02-08 17:49:38 +01:00
Allen Porter 6f46d98308
Bump python-nest to 4.2.0 for python 3.10 fixes (#66090) 2022-02-08 08:40:06 -08:00
Mick Vleeshouwer b6ad79e2b8
Update PyOverkiz to 1.3.4 (#66076) 2022-02-08 16:11:05 +01:00
Franck Nijhof 473834acd2
Add myself as codeowner to Plugwise (#66080) 2022-02-08 15:23:11 +01:00
Pablo Ovelleiro Corral 46b7b1ffb3
Increase timeout for InfluxDB v2 connections (#63885)
* Update influxdb timeout

* Update homeassistant/components/influxdb/const.py

Co-authored-by: Mike Degatano <michael.degatano@gmail.com>

Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2022-02-08 09:20:50 -05:00
AJ Schmidt 37525ae8c3
Remove AlarmDecoder Codeowner (#66078) 2022-02-08 15:14:33 +01:00
Tiernan 2df5060d80
Fix TOD incorrectly determining the state between sunrise and sunset (#65884)
* Fix TOD component incorrectly determining the state between sunrise and sunset (#30199)

* TOD fix

* Comment added

* Review

* Review

* Review

* Update time after day fix workaround for compatibility with
current version.
Only apply fix when using times and not when using sun events.
Add unit test for behaviour.

Co-authored-by: Nikolay Vasilchuk <Anonym.tsk@gmail.com>
2022-02-08 14:26:36 +01:00
Mick Vleeshouwer dcab9a19d6
Remove Overkiz switch platform todo and add 2 devices (#66069) 2022-02-08 14:05:35 +02:00
Eduard van Valkenburg f74706a265
Bump azure-eventhub to 5.7.0 (#66061) 2022-02-08 12:56:24 +01:00
Franck Nijhof 1fc717ed1c
Add diagnostics support to Plugwise (#65982) 2022-02-08 12:43:45 +01:00
Franck Nijhof d12a392767
Update plugwise 0.16.2 (#65933) 2022-02-08 11:13:05 +01:00
Sander Jochems 0ea82bdbfb
Fivem integration (#65089)
* Initial fivem integration setup

* Use licenseKey for unique ID

* Create FiveMServer class

* Create FiveMStatusBinarySensor

* Fix platform loading

* Create sensor platform

* Remove config flow tests

* Update manifest.json

* Use attr_ instead or properties in sensors.py

* Use entry_id as unique_id

* Move device info to _attr instead of property

* Register callback in FiveMEntity

* Create config flow tests

* Add loggin to fivem

* Use FiveM in config_flow

* Use update_coordinator instead of dispatcher

* Bump fivem-api to 0.1.2

* Remove leftovers

* More tests for config flow

* Add component files to .coveragerc

* Fix simple comments

* Add gamename check to config flow

* Use entity descriptions for sensors

* Move extra attributes to init

* Use [] instead of get() for server info

* Fix error in gamename test
2022-02-08 11:27:11 +02:00
Maikel Punie a03d8179d0
Bump velbusaio to 2022.2.3 (#66055) 2022-02-08 09:48:42 +01:00
Raman Gupta 4076ca9641
Fix schema for zwave_js WS API (#66052) 2022-02-07 21:53:48 -08:00
Franck Nijhof 895aee3fb2
Add configuration_url to Plugwise discovery (#66047) 2022-02-08 03:00:41 +01:00
Franck Nijhof 379945860b
Add configuration_url to Octoprint discovery (#66046) 2022-02-08 02:59:38 +01:00
Franck Nijhof 22e379cd54
Add support for mc devices to Tuya (#66044) 2022-02-08 02:56:32 +01:00
starkillerOG f9c81dd00b
Lock Netgear api during setup (#66033) 2022-02-08 02:50:38 +01:00
Patrik Lindgren afd0005a31
Add sensor for filter time left on Tradfri fan platform (#65877)
* Add support for filter time left

* Fix test for fan platform

* Remove debug code

* Add unique id migration tool

* Convert to hours

* Fix tests

* Apply suggestions from code review

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

* Add comment, check migration

* Refactor migration helper

* Refactor migration helper

* Move definition of new unique id

* Return after warning

* Add test for unique id migration

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 02:21:22 +01:00
J. Nick Koston f943f30492
Add discovery support to elkm1 (#65205) 2022-02-07 16:25:26 -08:00
GitHub Action cf70ad10e8 [ci skip] Translation update 2022-02-08 00:15:56 +00:00
jjlawren 36cfa7786d
Clean up Sonos unsubscribe/resubscribe exception handling and logging (#66025) 2022-02-07 16:00:57 -08:00
Erik Montnemery 33623c3fe8
Fix race in MQTT sensor and binary_sensor expire_after (#66040) 2022-02-07 15:47:23 -08:00
Erik Montnemery 39ed628cca
Suppress unwanted error messages during recorder migration (#66004) 2022-02-07 15:46:40 -08:00
J. Nick Koston 95cc677ba6
Fix decoding discovery with old Magic Home firmwares (#66038) 2022-02-07 15:45:50 -08:00
J. Nick Koston 175812d9e1
Fix missing exception catch in august to prevent failed setup (#66045) 2022-02-07 15:45:40 -08:00
Erik Montnemery 7cc6770f83
Revert "Make idle chromecasts appear as idle instead of off" (#66005) 2022-02-07 20:24:30 +01:00
Franck Nijhof 4732e37005
Remove passing loop into sleep in SamsungTV (#66030) 2022-02-07 20:08:54 +01:00
J. Nick Koston 721d711762
Add firmware and hardware version to WiZ (#66017) 2022-02-07 19:23:08 +01:00
G Johansson 480ce84b8a
Improve code quality filesize (#65240) 2022-02-07 11:59:06 -06:00
Erik Montnemery 910b1f1ec8
Speed up deletion of duplicated statistics (#66014) 2022-02-07 09:11:52 -08:00
J. Nick Koston ace74279f1
Move WiZ socket ident to upstream lib (#65958) 2022-02-07 17:44:52 +01:00
Vincent Le Bourlot d82899ed2f
Add title placeholders to overkiz discovery (#65506)
* add gateway_id to the config flow context name.

* obfuscate gateway_id.

* replace const with homeassistant.const.

* Remove obfuscation of gateway_id.

* fix style.

* Add translatable title according to comments

* Update homeassistant/components/overkiz/strings.json

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-07 17:53:05 +02:00
Pedro Lamas ebbe1ff1a2
Cache webostv supported_features state (#65930)
* Cache webostv supported_features state

* Fixes typings

* Restore supported_features attribute on restart

* Reverts change on supported_features initial state

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Fixes tests

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-02-07 17:49:18 +02:00
J. Nick Koston 9c82dcdee7
Add push updates support to WiZ (#65987) 2022-02-07 16:46:00 +01:00
Poltorak Serguei 3c5a667d97
Add Z-Wave.Me integration (#65473)
* Add support of Z-Wave.Me Z-Way and RaZberry server (#61182)

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: LawfulChaos <kerbalspacema@gmail.com>

* Add switch platform to Z-Wave.Me integration (#64957)

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

* Add button platform to Z-Wave.Me integration (#65109)

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Dmitry Vlasov <kerbalspacema@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Fix button controller access (#65117)

* Add lock platform to Z-Wave.Me integration #65109 (#65114)

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Dmitry Vlasov <kerbalspacema@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Add sensor platform to Z-Wave.Me integration (#65132)

* Sensor Entity

* Sensor fixes

* Apply suggestions from code review

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

* Inline descriotion according to review proposal

* State Classes for sensor

* Generic sensor

* Generic sensor

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

* Add binary sensor platform to Z-Wave.Me integration (#65306)

* Binary Sensor Entity

* Update docstring

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

* Add Light Entity platform to Z-Wave.Me integration (#65331)

* Light Entity

* mypy fix

* Fixes, ZWaveMePlatforms enum

* Apply suggestions from code review

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

* Fixes

* Fixes

* Fixes

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

* Add Thermostat platform to Z-Wave.Me integration #65331 (#65371)

* Climate entity

* Climate entity

* Apply suggestions from code review

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

* Climate entity fix

* Clean up

* cleanup

* Import order fix

* Correct naming

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

* Correct zwave_me .coveragerc (#65491)

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

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: LawfulChaos <kerbalspacema@gmail.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-02-07 16:27:11 +01:00
Joakim Sørensen b1015296d9
Add diagnostics to Version integration (#65999)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-07 16:11:04 +01:00
Joakim Sørensen e226cfaeb2
Use strings directly instead of Enums in version config (#66007) 2022-02-07 16:04:18 +01:00
Milan Meulemans 78d2fbb402
Upgrade aionanoleaf to 0.2.0 (#66008) 2022-02-07 14:49:34 +01:00
epenet 486c068111
Allow None on Renault binary sensors (#65997)
* Enable None on renault binary sensors

* Adjust tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-07 15:06:40 +02:00
starkillerOG d81139377c
Add Netgear allow/block switch (#65705)
* add allow/block switch

* keep api private

* typing

* change default to None

* retain None state

* change default to None
2022-02-07 12:00:02 +01:00
Franck Nijhof bd31cfbd40
Add secondary dimmer to dj in Tuya (#65990) 2022-02-07 11:15:28 +01:00
Franck Nijhof 1ae809293f
Add support for qjdcz to Tuya (#65985) 2022-02-07 11:14:48 +01:00
starkillerOG 791b700ac2
bump motionblinds to 0.5.11 (#65988) 2022-02-07 10:57:42 +01:00
rhpijnacker bb762d5b0f
100% code coverage for config_flow of dsmr component (#65238) 2022-02-07 10:48:33 +01:00
Chris Talkington f05caf451e
Small cleanup of sonarr sensor platform (#65962) 2022-02-07 09:53:23 +01:00
Chris Talkington 18ac72f613
Reduce coordinator cooldown for roku (#65973) 2022-02-07 09:03:19 +01:00
jjlawren 211db79f11
Bump plexapi to 4.9.2 (#65972) 2022-02-07 09:56:24 +02:00
Anders Melchiorsen 9e0926f943
Remove LIFX devices with no entities (#65964) 2022-02-07 08:19:32 +01:00
Chris Talkington 0321f208ff
Address late review from #65814 for roku (#65967) 2022-02-06 19:13:01 -06:00
GitHub Action 2772437a2b [ci skip] Translation update 2022-02-07 00:14:20 +00:00
Teemu R fd7e2e76e7
Add tplink diagnostics (#65822) 2022-02-06 16:50:44 -06:00
Michael 4cd00a1a6f
remove EntityCategory from home_mode switch (#65949) 2022-02-07 00:41:02 +02:00
Paulus Schoutsen f820806e3c
Remove duplicate methods from Frtiz (#65956) 2022-02-06 14:38:26 -08:00
Teemu R f4ebb03bab
Add tplink hardware version to device info (#65951)
* Add tplink hardware version to device info

* Update mocks

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-07 00:37:54 +02:00
Marc Mueller c28821aeca
Remove unused temp_unit attr [sensibo] (#65953) 2022-02-07 00:34:23 +02:00
Michael dc65c621ed
check wan access type (#65389) 2022-02-06 14:17:10 -08:00
ollo69 341d039252
Improve androidtv mac address handling and test coverage (#65749)
* Better mac addr handling and improve test coverage

* Apply suggested changes

* Apply more suggested changes
2022-02-06 14:15:50 -08:00
Sean Vig 50525e25b6
Fix Amcrest service calls (#65717)
Fixes #65522
Fixes #65647
2022-02-06 14:14:44 -08:00
Allen Porter ddd198de37
Fix legacy nest diagnostics to return empty rather than fail (#65824)
Fix legacy nest diangostics to return gracefully, rather than a TypError
by checking explicitiy for SDM in the config entry. Update diagnostics
to use the common nest test fixture, and extend with support for the
legacy nest config. Use the sdm test fixture in the existing legacy
tests so they all share the same config files.
2022-02-06 14:14:25 -08:00
Maciej Bieniek 6d37979e10
Fix wind speed unit (#65723) 2022-02-06 14:13:05 -08:00
J. Nick Koston 41f602c3df
Fix loss of ability to control white channel in HomeKit on RGB&W lights (#65864)
* Fix loss of ability to control white channel in HomeKit on RGB&W lights

- Fix white channel missing from RGB/W lights

- Fix temp missing from RGB/CW lights

- Fixes #65529

* cover the missing case

* bright fix

* force brightness notify on color mode change as well
2022-02-06 14:12:30 -08:00
Milan Meulemans b1dcf7e0d8
Add DataUpdateCoordinator to Nanoleaf (#65950) 2022-02-06 16:11:52 -06:00
Michael 275d4b9770
Improve device shutdown and unload of Synology DSM integration (#65936)
* ignore errors during unload/logout

* automatic host update is an info, nut debug
2022-02-06 14:02:31 -08:00
J. Nick Koston 62da194340
Add diagnostics support to HomeKit (#65942)
* Add diagnostics support to HomeKit

* remove debug
2022-02-06 14:02:07 -08:00
Jens Østergaard Nielsen e7d725e810
Ihc integration, move manual setup out of init.py (#65087)
* Move manual setup out of init.py

* Type hints on additional parameters

* Complete missing  typings
2022-02-06 13:42:15 -08:00
Alex Yao 88309a26b7
Fix Yeelight Music Mode Rate Limits (#64891) 2022-02-06 15:34:27 -06:00
Diego Elio Pettenò c6aa526469
Support songpal wireless-only soundbar identifiers (#65330)
As shown in #64868, a number of newer models don't come wiht a macAddr
attributes, so for those fall back to the wireless address.

This could be hidden by the python-songpal library but for now this will
make it possible to have multiple modern songpal devices on the same
network.
2022-02-06 22:33:58 +01:00
Joakim Sørensen 63d3a47599
disabled_by can be None when updating devices (#65934) 2022-02-06 20:23:31 +01:00
Niels AD ccdf182d31
rfxtrx: Add command_on/command_off support for pt2262 switch entities (#65798) 2022-02-06 19:39:57 +01:00
Franck Nijhof c41ec6f941
SensorEntityDescriptions for Plugwise (#65898) 2022-02-06 12:19:57 -06:00
ollo69 900c793c3a
Add diagnostics support for Nut (#65893) 2022-02-06 12:00:39 -06:00
Sander Huisman e7dfc89452
Add unique ID to InfluxDB sensor (#65518) 2022-02-06 18:40:37 +01:00
jjlawren b02a030336
Fix Spotify, Tidal, Apple Music playback on Sonos groups (#65838) 2022-02-06 18:37:23 +01:00
Christopher Masto 6d4df93bc7
Correct description of entity_globs (#65805) 2022-02-06 18:36:38 +01:00
M. Frister 9597ed3f8a
Bump soco to 0.26.2 (#65919) 2022-02-06 18:17:41 +01:00
Franck Nijhof 34a636ef0b
Extract Plugwise DataUpdateCoordinator into module (#65915) 2022-02-06 19:03:50 +02:00
Franck Nijhof 92856bab56
Add mbd Tuya light support (#65918) 2022-02-06 17:55:03 +01:00
Matthias Alphart e54c89dc0d
Update xknx to 0.19.2 - fix TCP tunnelling (#65920) 2022-02-06 17:48:56 +01:00
Franck Nijhof 62a314015c
BinarySensorEntityDescriptions for Plugwise (#65887) 2022-02-06 17:25:55 +01:00
J. Nick Koston 540f1c19d5
Fix Task exception was never retrieved when WiZ devices are offline (#65844) 2022-02-06 17:13:51 +01:00
ollo69 13699baa4d
Remove deprecated yaml config from AsusWRT (#65904) 2022-02-06 17:03:04 +02:00
Franck Nijhof a0895f1bf2
Small cleanup in Plugwise switch (#65845) 2022-02-06 10:51:50 +01:00
ollo69 1c8a34c349
Clean-up AsusWRT setup entry (#65860) 2022-02-06 10:35:49 +02:00
Jeef 72601ccf32
feat: bumped version (#65863) 2022-02-06 10:32:04 +02:00
J. Nick Koston 66c9b95da8
Fix flash at turn on with newer 0x04 Magic Home models (#65836) 2022-02-05 22:49:37 -06:00
Chris Talkington 15e5f516d2
Update rokuecp to 0.13.1 (#65814) 2022-02-05 22:17:31 -06:00
GitHub Action 2da4d280b2 [ci skip] Translation update 2022-02-06 00:17:31 +00:00
starkillerOG 1269483923
Remove port from description (#65851) 2022-02-06 02:00:42 +02:00
Brett Adams f4eb7e31a4
Bump Advantage Air to 0.2.6 (#65849) 2022-02-06 01:49:26 +02:00
Franck Nijhof 131dbd6c8e
Move Plugwise logger into constants (#65842) 2022-02-06 01:43:05 +02:00
Franck Nijhof a6e36a6eb9
Simplify unique ID handling in Plugwise (#65839) 2022-02-05 23:59:37 +01:00
Aidan Timson acb7e24852
Reduce System Bridge load on server (#65794) 2022-02-05 22:56:36 +01:00
J. Nick Koston 9dc158f5e0
Add support for picking discovered devices to WiZ (#65826)
* Add support for picking discovered devices

- Also fixes state not being written initially (it was not so
  obvious since the next coordinator update wrote it)

* store it

* store it

* order

* fixes

* more cleanups

* hints

* naming

* merge branches
2022-02-05 22:23:31 +01:00
Franck Nijhof b299f80feb
Improve entry setup error logging for Plugwise (#65830) 2022-02-05 21:23:25 +01:00
dougiteixeira 52d7ca6b1c
Complementing the Tuya Humidifier (jsq) category (#65276)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-05 20:31:20 +01:00
Franck Nijhof 87049283c1
Extract base entity class in Plugwise (#65821) 2022-02-05 19:09:37 +01:00
Franck Nijhof b0bb2d2453
Cleanup Plugwise config flow and tests (#65818) 2022-02-05 19:07:02 +01:00
J. Nick Koston 5621e20963
WiZ Cleanups part 3 (#65819)
* WiZ Cleanups part 3

- Sockets are now using the switch platform

* tweaks

* remove rgb colorcheck

* tweaks

* tweaks

* cover

* cover
2022-02-05 18:56:17 +01:00
Hans Oischinger f171ec4676
Add missing vicare state class (#65795) 2022-02-05 18:17:09 +01:00
J. Nick Koston adbc0e5955
Prevent multiple dhcp flows from being started for the same device/domain (#65753) 2022-02-05 10:59:22 -06:00
J. Nick Koston 2bcd4f8f93
Add discovery support to WiZ Part 1 (#65752) 2022-02-05 10:36:44 -06:00
Ferdinand 854d56fc6d
Fix the restart when the saj device is down (#65796) 2022-02-05 17:12:17 +01:00
Franck Nijhof 00e8d2bc3d
Small cleanup in Plugwise climate (#65800) 2022-02-05 17:09:49 +01:00
David McClosky df0e98f428
Remove dmcc from codeowners in vlc_telnet (#65810) 2022-02-05 17:01:39 +01:00
Franck Nijhof 5c6d019d6b
Remove options flow from Plugwise (#65808) 2022-02-05 16:46:50 +01:00
Shay Levy ae3b337d3e
Bump aioshelly to 1.0.9 (#65803) 2022-02-05 16:44:05 +01:00
J. Nick Koston 342f5182b9
WiZ cleanups part 1 (#65746)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-05 09:23:19 -06:00
Hans Oischinger 99fd16d675
Clean up vicare code (#65774)
* Clean up vicare code

Remove constants that were only used once
Remove _build_entity and use constructor directly

* Fix copy/paste issue
2022-02-05 14:26:44 +01:00
Franck Nijhof 9f8c0685e3
Small cleanup in Plugwise sensors (#65765) 2022-02-05 14:20:07 +01:00
Franck Nijhof fa09cf663e
Update black to 22.1.0 (#65788) 2022-02-05 14:19:37 +01:00
Franck Nijhof 58409d0895
Update Pillow to 9.0.1 (#65779) 2022-02-05 14:19:24 +01:00
Franck Nijhof 6cf0d9d37a
Update sentry-dsk to 1.5.4 (#65792) 2022-02-05 14:14:31 +01:00
Lars 3373b73329
Update pyfritzhome to 0.6.4 (#65777) 2022-02-05 14:10:07 +01:00
Franck Nijhof e386f4846d
Update delijn to 1.0.0 (#65776)
* Update delijn to 1.0.0

* -1
2022-02-05 13:31:04 +01:00
Franck Nijhof efd7b2a978
Update apprise to 0.9.7 (#65780) 2022-02-05 13:28:32 +01:00
Patrik Lindgren daedbbb1ee
Bump pytradfri to 9.0.0 (#65784)
* Bump pytradfri to 8.1.0

* Bump to 9.0.0

* Bump manifest
2022-02-05 13:25:50 +01:00
G Johansson 54e1e905b1
Add capabilities to sensibo coordinator data (#65775) 2022-02-05 13:00:56 +01:00
G Johansson 07edbc42a4
Bugfix temp step list out of range sensibo (#65782) 2022-02-05 12:53:27 +01:00
Franck Nijhof 5613a80d28
Add Heater (rs) support Tuya Climate (#65707) 2022-02-05 12:09:29 +01:00
Aidan Timson b1bf9b50d8
Fix OVO Energy NoneType error occurring for some users (#65714) 2022-02-05 11:46:52 +01:00
dougiteixeira bf0816d4c6
Add current temperature sensor for Tuya Fan (fs) (#65744) 2022-02-05 11:19:29 +01:00
Franck Nijhof 6871271e73
Small cleanup in Plugwise binary sensors (#65738) 2022-02-04 23:44:31 -08:00
Franck Nijhof 313387fda5
Remove deprecated GNTP integration (#65741) 2022-02-04 23:42:57 -08:00
Franck Nijhof e242796394
Remove deprecated format for date(time) sensors (#65734) 2022-02-04 23:42:29 -08:00
Aaron Bach fbe4d42729
Remove unnecessary `TYPE_CHECKING` declarations in SimpliSafe (#65750) 2022-02-04 23:41:40 -08:00
Aaron Bach 3387e8368b
Add redacted subscription data to SimpliSafe diagnostics (#65751) 2022-02-04 23:41:12 -08:00
Aaron Bach b9b53bef00
Bump simplisafe-python to 2022.02.0 (#65748) 2022-02-04 23:39:01 -08:00
Paulus Schoutsen d753f4a2e7
Fix UPNP access to SSDP info (#65728) 2022-02-04 21:33:53 -08:00
dougiteixeira 92842b796b
Complementing the Tuya Air Purifier (kj) category (#65283)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-05 03:19:00 +01:00
Stephan Traub 432d9a8f19
Introduce wiz integration for the WiZ Platform (#44779)
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jan Stienstra <65826735+j-stienstra@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-04 16:20:21 -08:00
GitHub Action d8830aa4e0 [ci skip] Translation update 2022-02-05 00:12:01 +00:00
Paulus Schoutsen 5da923c341
Protect state.as_dict from mutation (#65693) 2022-02-04 14:45:25 -08:00
Duco Sebel 0d3bbfc9a7
Fix `homewizard_energy` migration issues from #65594 (#65718) 2022-02-04 14:45:06 -08:00
Franck Nijhof 2370dda1f0
Depend on diagnostics in the frontend (#65710) 2022-02-04 11:47:01 -08:00
jjlawren 40857bda90
Use SSDP byebye to mark Sonos as offline (#65686) 2022-02-04 11:41:24 -08:00
ollo69 bebf5009d6
Add diagnostics support for Asuswrt (#65605)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-02-04 11:40:29 -08:00
Erik Montnemery 1f8e8926fe
Only remove duplicated statistics on error (#65653) 2022-02-04 11:31:12 -08:00
Jeff Irion fe05d6680c
Bump androidtv to 0.0.63 (fix MAC issues) (#65615) 2022-02-04 20:13:08 +01:00
Paulus Schoutsen d279211f0c
Fix tuya diagnostics mutating cached state objects (#65708) 2022-02-04 20:11:21 +01:00
Paulus Schoutsen 8574ee04ba
Fix passing a string to device registry disabled_by (#65701) 2022-02-04 10:55:45 -08:00
Erik Montnemery 020953e943
Improve recorder migration for PostgreSQL when columns already exist (#65680) 2022-02-04 10:55:28 -08:00
Paulus Schoutsen 2a8797ae3f
Move scene and button restore to internal hook (#65696) 2022-02-04 10:43:06 -08:00
Joakim Sørensen 8021b05448
Allow selecting own repositories (#65695) 2022-02-04 19:33:10 +01:00
Erik Montnemery 41ab12cb88
Don't use shared session during recorder migration (#65672) 2022-02-04 09:55:11 -08:00
jkuettner 42024c1ed3
Fix "vevent" KeyError in caldav component again (#65685)
* Fix "vevent" KeyError in caldav component again

* code formatting
2022-02-04 18:47:31 +01:00
starkillerOG 5519888dc1
Netgear add traffic sensors (#65645)
* add sensors

* use entity discription

* use lambda functions

* use seperate coordinators

* styling

* revieuw comments

* set proper default

* move api lock

* fix styling

* Update homeassistant/components/netgear/sensor.py

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

* Update homeassistant/components/netgear/sensor.py

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

* use coordinator data

* fix styling

* fix typing

* move typing

* fix lock

* Update homeassistant/components/netgear/sensor.py

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

* Update homeassistant/components/netgear/sensor.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-04 18:36:56 +01:00
Duco Sebel a97e69196c
Add migration to migrate 'homewizard_energy' to 'homewizard' (#65594) 2022-02-04 09:12:35 -08:00
Erik Montnemery 8245ff7473
Log transmitted MQTT messages (#65550) 2022-02-04 17:35:32 +01:00
epenet a95988c970
Bump renault-api to 0.1.8 (#65670)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-04 16:30:57 +01:00
Erik Montnemery ac7662c82d
Remove limit of amount of duplicated statistics (#65641) 2022-02-04 14:49:45 +01:00
Maikel Punie 2e594b5025
Bump velbusaio to 2022.2.2 (#65657) 2022-02-04 13:51:04 +01:00
Robert Svensson 96c4e33b24
Parametrize deCONZ binary sensors (#65012)
* Improve test coverage prior to improving deCONZ binary sensor platform

* Define all relevant binary sensors as DeconzBinarySensorDescription

* Fix review comment

* Allow providing extra update keys if sensor provides extra attributes

* Minor touch up of naming

* Remove duplicate assert
2022-02-04 12:58:07 +01:00
Franck Nijhof b7007b364a
Add TRV (`wkf`) support to Tuya (#65649) 2022-02-04 12:34:15 +01:00
Stefan Agner 320df10a26
Use _attr_last_reset to set last_reset (#65648) 2022-02-04 11:40:38 +01:00
alexanv1 98a7125933
Fix Z-Wave lights (#65638)
* Fix Z-Wave lights

* Update tests
2022-02-04 10:50:24 +01:00
Thomas Schamm ff6969a255
Bumped boschshcpy 0.2.28 to 0.2.29 (#65328) 2022-02-04 09:51:34 +01:00
Paulus Schoutsen bc41028800
Some tweaks to the demo (#65623)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-02-04 09:49:47 +01:00
Paulus Schoutsen 777eba3bab
Bump homematicip to 1.0.2 (#65620) 2022-02-04 09:18:10 +01:00
J. Nick Koston 7ab4214553
Bump flux_led to 0.28.20 (#65621) 2022-02-04 09:12:29 +01:00
Timo S d6693cdff9
Add fritz set guest wifi password service (#62892)
* Add a new service set_guest_wifi_password to the fritz integration.

* Remove unnecessary params defaults

* Remove default password length

* Add service schema, cleanup code

* Fix min password length in services.yaml

* Move schema to `services.py`, add typing

* Add default password length from upstream lib

* Remove None typing

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2022-02-04 08:57:14 +01:00
Raman Gupta c477378835
Raise when zwave_js device automation fails validation (#65610) 2022-02-04 02:50:47 +01:00
Shay Levy 5e577058bb
Fix Shelly Plus i4 KeyError (#65604) 2022-02-03 16:19:36 -08:00
GitHub Action b2f0882e67 [ci skip] Translation update 2022-02-04 00:13:58 +00:00
J. Nick Koston 727743c4cd
Fix lutron_caseta button events including area name in device name (#65601) 2022-02-04 00:44:19 +01:00
Diogo Gomes 189f1f8c25
Add kmtronic device_info (#65456)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-02-04 00:30:09 +01:00
G Johansson 24cd63973d
Add back resolvers config flow dnsip (#65570) 2022-02-03 15:05:56 -08:00
jjlawren 8c0c4f9bca
Log traceback in debug for Sonos unsubscribe errors (#65596) 2022-02-03 15:03:18 -08:00
G Johansson 718da64728
Improve code quality sensibo (#65503) 2022-02-03 16:34:01 -06:00
Paulus Schoutsen 157276f4e6
Add a Lovelace cast platform (#65401) 2022-02-03 13:43:23 -08:00
Franck Nijhof d3e36230cb
Update pvo to 0.2.1 (#65584) 2022-02-03 13:37:10 -08:00
Michael 8432fe7bd6
Extend diagnostics data in Fritz!Tools (#65573) 2022-02-03 13:36:36 -08:00
Franck Nijhof 445c47c7a0
Guard against empty Tuya data types (#65571) 2022-02-03 21:46:05 +01:00
Michael 80102e1e84
Fix data update when guest client disappears in Fritz!Tools (#65564)
Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
2022-02-03 12:32:36 -08:00
Bram Kragten 97c8427506
Update frontend to 20220203.0 (#65572) 2022-02-03 12:32:01 -08:00
Oxan van Leeuwen d22fc99294
Add device class to ESPHome switches (#64919)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-02-04 09:23:30 +13:00
Franck Nijhof a3d2a1a5e0
Add missing Tuya vacuum states (#65567) 2022-02-03 12:31:22 -07:00
epenet cc7680b0c3
Adjust pylint plugin to enforce diagnostics type hints (#64976)
* Adjust pylint plugin to enforce diagnostics type hints

* Adjust return_type

* Set return_type to UNDEFINED

* Use Any for the expected data

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 19:22:43 +01:00
J. Nick Koston b97cd3ce93
Do not update unifiprotect host from discovery if its not an ip (#65548) 2022-02-03 19:14:36 +01:00
J. Nick Koston 3d8d507ed9
Migrate powerwall from using ip address as unique id (#65257)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 18:39:57 +01:00
Aaron Bach 8d2fac09bb
Remove deprecated Guardian `entity_id` service parameter (#65484) 2022-02-03 17:19:06 +01:00
Aaron Bach 778cc6106a
Remove deprecated SimpliSafe `service_id` service parameter (#65483) 2022-02-03 17:18:31 +01:00
Jc2k 714a952d73
Enable types from aiohomekit to be used by mypy for homekit_controller (#65433) 2022-02-03 10:18:03 -06:00
J. Nick Koston 6c38a6b569
Enable strict typing for isy994 (#65439)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 17:02:05 +01:00
Jan Bouwhuis 2f0d0998a2
Add Mqtt vacuum `unknown` state (#65311)
* Add Mqtt vacuum `unknown` status

* Update tests/components/mqtt/test_state_vacuum.py

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

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:50:39 +01:00
Jan Bouwhuis cf52357229
Add MQTT light unknown state support (#65308)
* Add MQTT light unknown sate support

* Update homeassistant/components/mqtt/light/schema_basic.py

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

* Update homeassistant/components/mqtt/light/schema_json.py

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

* Update homeassistant/components/mqtt/light/schema_template.py

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

* Update tests for default unknown state

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:49:57 +01:00
Jan Bouwhuis 2d011821ea
Add MQTT humidifier unknown state support (#65302)
* Add MQTT humidifier unknown state support

* Update homeassistant/components/mqtt/humidifier.py

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

* Fix tests for changed default optimistic state

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:49:09 +01:00
Jan Bouwhuis 711bd7169e
Add Mqtt Fan unknown state support (#65301)
* Add Mqtt Fan unknown state support

* Update homeassistant/components/mqtt/fan.py

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

* Adjust default state in tests

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-03 16:48:03 +01:00
Jan Bouwhuis 3d434dffc7
Add support Mqtt switch for unkown state (#65294)
* Mqtt switch allow unkown state

* correct type

* Update discovery tests

* Optimistic mode if not state_topic is configured.

* Default state UNKNOWN in optimistic mode

* fix discovery test
2022-02-03 16:47:24 +01:00
Jan Bouwhuis 63459feede
Return current state if template throws (#65534) 2022-02-03 16:46:36 +01:00
G Johansson ca1e295662
Implement diagnostics for Sensibo (#65515) 2022-02-03 15:03:56 +01:00
Aaron Bach 82c4d344b2
Allow Flu Near You to re-attempt startup on error (#65481) 2022-02-03 14:31:15 +01:00
Eduard van Valkenburg 0ff93759d0
Fix SIA availability (#65509) 2022-02-03 14:29:12 +01:00
Aaron Bach 4946f271c9
Bump pytile to 2022.02.0 (#65482) 2022-02-03 14:26:30 +01:00
G Johansson 3f57adf475
Code quality custom service for sensibo (#65496) 2022-02-03 14:11:53 +01:00
Franck Nijhof 3e0856ccac
Fix missing windspeed in Tuya climate (#65511) 2022-02-03 14:00:03 +01:00
jjlawren 770707f487
Fix vanished checks on old Sonos firmware (#65477) 2022-02-03 13:22:34 +01:00
starkillerOG 69a004a2f6
Netgear coordinator (#65255)
* implement coordinator

* fix styling

* fix async_uload_entry

* use async_config_entry_first_refresh

* use const

* fix black

* use KEY_ROUTER

* review comments

* fix black

* ensure the coordinator keeps updating

* fix flake8

* rework setup of entities using coordinator

* styling

* check for failed get_info call

* fix

* fix setup of entities

* simplify

* do not set unique_id and device_info on scanner entity

* Update homeassistant/components/netgear/sensor.py

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

* Update homeassistant/components/netgear/device_tracker.py

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

* Update homeassistant/components/netgear/router.py

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

* use entry_id instead of unique_id

* unused import

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 12:28:04 +01:00
Marc Mueller cd67ddbe26
Upgrade pwmled to 1.6.9 (#65465) 2022-02-03 12:16:53 +01:00
epenet 9fde84ab41
Remove freebox from mypy ignore list (#65126)
* Add type hints to freebox

* Remove freebox from mypy ignore list

* Adjust type hints

* Refactor FreeboxRouter setup/close

* Remove unnecessary assert

* Remove unused constant

* Rework unload routine

* Bring back close method

* Suppress NotOpenError

* Use async_on_unload on signal_device_new

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 10:01:41 +01:00
epenet b587201654
Add update listener type hints to broadlink (#65413)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 10:00:30 +01:00
epenet 8325188ed2
Remove nest legacy from mypy ignored modules (#65421)
* Remove nest legacy from mypy ignored modules

* Set type-ignore inside the files

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 06:57:44 +01:00
Erik Montnemery f3a89de71f
Fix race when handling updated MQTT discovery data (#65415) 2022-02-02 17:12:22 -08:00
Jeff Irion 4e7cf19b5f
Bump androidtv to 0.0.62 (#65440) 2022-02-02 17:08:19 -08:00
Maciej Bieniek 32be5576dc
Get wind speed unit from AccuWeather data (#65425) 2022-02-02 17:07:12 -08:00
Aaron Bach 7909cff957
Fix `unknown alarm websocket event` error for restored SimpliSafe connections (#65457) 2022-02-02 17:06:24 -08:00
Aaron Bach 75e5079df3
Catch correct error during OpenUV startup (#65459) 2022-02-02 17:05:40 -08:00
Jesse Hills 6e36bdb907
Expose ESPHome project information in device information (#65466) 2022-02-02 17:05:12 -08:00
epenet 340146e5fb
Add update listener type hints to coinbase (#65414)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 01:25:51 +01:00
GitHub Action 256ad084c5 [ci skip] Translation update 2022-02-03 00:14:18 +00:00
Colin Robbins 83fa4df641
Fix Shodan sensor (#65443) 2022-02-02 20:44:16 +01:00
epenet 494ef2f9b2
Adjust config_entry UpdateListenerType signature (#65410)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-02 09:56:34 -08:00
Tobias Sauerwein 81ad56b8ad
Add events on cloud connect and disconnect (#65215)
* Add events on cloud connect and disconnect

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Use event capture helper

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Provide listener method instead of public event

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Add test for disconnect notification

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Apply suggestions from code review

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

* Use Enum

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Add module level api

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Apply suggestions from code review

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

* Clean up dead code

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Flake8

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-02 18:11:06 +01:00
Erik Montnemery fda0fbd115
Stringify MQTT payload in mqtt/debug/info WS response (#65429) 2022-02-02 18:08:48 +01:00
Stefan Agner c8e64358b1
Set last_reset for integrated entities in IoTaWatt (#65143)
* Set last_reset for integrated entities

For entities which integrate over time (like energy in watt hours) the
iotawattpy library uses the beginning of the year as start date by
default (using relative time specification "y", see [1]). Since
PR #56974 state class has been changed from TOTAL_INCREASING to TOTAL.
However, the relative start date of "y" causes the value to reset to
zero at the beginning of the year.

This fixes it by setting last_reset properly, which takes such resets
into account.

While at it, let's set the cycle to one day. This lowers the load on
IoTaWatt (fetching with start date beginning of the day seems to
response faster than beginning of the year).

[1]: https://docs.iotawatt.com/en/master/query.html#relative-time

* Update homeassistant/components/iotawatt/sensor.py
* Update homeassistant/components/iotawatt/coordinator.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-02 17:39:33 +01:00
J. Nick Koston 530fc8a9af
Ensure unifiprotect discovery can be ignored (#65406) 2022-02-02 16:16:29 +01:00
Jan Bouwhuis 2c07330794
Fix MQTT expire_after effects after reloading (#65359)
* Cleanup sensor expire triggers after reload

* fix test binary_sensor

* Also trigger cleanup parent classes

* Restore an expiring state after a reload

* correct discovery_update

* restore expiring state with remaining time

* Update homeassistant/components/mqtt/binary_sensor.py

description

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

* Log remaining time

* Move check

* check and tests reload

* remove self.async_write_ha_state()

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-02-02 16:14:52 +01:00
Bram Kragten 9ce2e9e8f4
Update frontend to 20220202.0 (#65432) 2022-02-02 16:08:16 +01:00
Erik Montnemery 0eb2caabcf
Report unmet dependencies for failing config flows (#65061)
* Report unmet dependencies for failing config flows

* Apply suggestions from code review

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

* Update homeassistant/setup.py

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

* Modify error message

* Add test

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-02 15:06:27 +01:00
Maikel Punie 40c727df66
Bump velbus-aio to 2022.2.1 (#65422) 2022-02-02 14:38:19 +01:00
G Johansson 8448462720
Rewrite sensibo integration (#64753)
* Rewrite sensibo integration

* Fixing CI

* coordinator in untested

* Fix review comments

* Additional review fixes

* Fix all conversations

* Remove extra state attributes

* Restore assumed state service

* Fix async_assume_state
2022-02-02 13:09:42 +01:00
epenet a63e5c7ded
Add type hints for config entry update listeners (#65412) 2022-02-02 03:36:04 -06:00
Erik Montnemery 627be81531
Import registries in MQTT mixins (#65411) 2022-02-02 10:32:11 +01:00
Josh Shoemaker 4a55d58d6d
Bump aladdin_connect to 0.4 to fix integration for some users due to API changes (#65407) 2022-02-02 09:29:05 +01:00
jjlawren 4794625048
Detect battery-operated Sonos devices going offline (#65382) 2022-02-01 22:11:21 -06:00
jjlawren c80d6810b3
Fix Sonos diagnostics with offline device (#65393)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-01 22:10:53 -06:00
J. Nick Koston 3da60355a9
Bump lutron_caseta to 0.13.1 to fix setup when no button devices are present (#65400) 2022-02-01 19:19:24 -06:00
GitHub Action ff2f135f55 [ci skip] Translation update 2022-02-02 00:15:13 +00:00
J. Nick Koston 73189ead1f
Handle brightness being None for senseme (#65372) 2022-02-01 14:51:28 -08:00
Pierre Ståhl e2935b55ae
Fix disconnect bug in Apple TV integration (#65385) 2022-02-01 15:44:06 -06:00
Pierre Ståhl 476a694248
Sort Apple TV app list by name (#65386) 2022-02-01 15:30:28 -06:00
Tobias Sauerwein 3718d7fca8
Add Netatmo error logging when no public stations are available (#65298)
* Log error if public stations don't provide data

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Only log once

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Update homeassistant/components/netatmo/sensor.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-02-01 22:06:03 +02:00
Jc2k 9f5d77e0df
Add missing type hints to homekit_controller (#65368) 2022-02-01 13:30:37 -06:00
Paulus Schoutsen aef6f49eff
Bump frontend to 20220201.0 (#65380) 2022-02-01 09:58:23 -08:00
Michael 1b8252fa2f
Fix wan_access switch for disconnected devices in Fritz!Tools (#65378) 2022-02-01 09:57:34 -08:00
Robert Svensson 69ac59ce73
Redact host address in UniFi diagnostics (#65379) 2022-02-01 09:52:56 -08:00
Bram Kragten c82aa1606a
Allow removing keys from automation (#65374) 2022-02-01 09:45:08 -08:00
schreyack 3c0369ed59
Fix honeywell hold mode (#65327)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-01 09:11:09 -08:00
Martin Hjelmare 3697f5611c
Fix tradfri coordinator error handling (#65204) 2022-02-01 09:09:51 -08:00
ZuluWhiskey 65ea54927d
Fix MotionEye config flow (#64360)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-01 09:05:50 -08:00
Allen Porter d3374ecd8e
Add type hints for google calendar integration (#65353)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-01 17:28:32 +01:00
G Johansson 390d32c71b
Fix options for dnsip (#65369) 2022-02-01 16:47:42 +01:00
fOmey d24fedbe97
Tuya fan natural wind mode (#65343) 2022-02-01 15:50:43 +01:00
Klaas Schoute 75a1f3207c
Use dataclass asdict to convert to dict (#65365) 2022-02-01 14:44:40 +01:00
Jc2k dd5bcafab7
Enable mypy checks for homekit_controller (#65358) 2022-02-01 11:27:35 +00:00
Erik Montnemery ab17f8984b
Improve CastProtocol (#65357)
* Improve CastProtocol

* Tweak
2022-02-01 10:47:12 +01:00
Jc2k 2a193e1016
Refactor platform loading in homekit_controller (#65338) 2022-02-01 07:38:42 +00:00
Paulus Schoutsen b05b4c4b38
Simplify unifi cleanup logic (#65345) 2022-02-01 07:22:12 +01:00
Allen Porter 88ed2f3b3e
Improve google calendar test coverage to 97% (#65223)
* Improve google calendar test coverage to 97%

* Remove commented out code.

* Remove unnecessary (flaky) checks for token file persistence

* Remove mock code assertions

* Add debug logging to google calendar integration

* Increase alarm time to polling code to reduce flakes

* Setup every test in their own configuration directory

* Mock out filesystem calls to avoid disk dependencies

Update scope checking code to use Storage object rather than text file matching

* Update tests to check entity states when integration is loaded

* Mock out google service in multiple locations

* Update homeassistant/components/google/__init__.py

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

* Update homeassistant/components/google/__init__.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-01 03:14:49 +01:00
Paulus Schoutsen 5289935ac1
I zone, you zone, we zoning (#65344) 2022-01-31 17:04:46 -08:00
Martin Hjelmare d0412d65ac
Remove stale tradfri devices (#65218) 2022-01-31 16:43:16 -08:00
GitHub Action 0be8060b69 [ci skip] Translation update 2022-02-01 00:18:49 +00:00
Simone Chemelli 86079375b9
Add diagnostics for SamsungTV (#65342) 2022-01-31 16:10:55 -08:00
Duco Sebel 103fe9e0ba
Add HomeWizard diagnostics (#65297)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-31 16:08:58 -08:00
J. Nick Koston 3bb8de66d8
Bump zeroconf to 0.38.3 (#65341) 2022-01-31 16:08:42 -08:00
Paulus Schoutsen 47a5411525
Bump aiohue to 4.0.1 (#65340) 2022-01-31 15:58:52 -08:00
Michael c9f38355f7
Improve debugging and error handling in Fritz!Tools (#65324) 2022-01-31 15:28:11 -08:00
J. Nick Koston 18ea3fb85a
Prevent unifiprotect from being rediscovered on UDM-PROs (#65335) 2022-01-31 15:27:26 -08:00
J. Nick Koston c7eb676449
Fix guardian being rediscovered via dhcp (#65332) 2022-01-31 15:24:55 -08:00
Paulus Schoutsen bf138c4ffb
Alexa to handle brightness and catch exceptions (#65322) 2022-01-31 15:01:46 -08:00
Jc2k 0f88790303
Refactor homekit_controller to prepare for more typing information (#65329) 2022-01-31 16:48:16 -06:00
Simone Chemelli a9af29cbe0
Add diagnostics support to Fritz (#65334)
* Add diagnostics support to Fritz

* Temporary remove tests

* coveragerc
2022-01-31 23:43:46 +01:00
Simone Chemelli 17c41f4783
Introduce number platform for Shelly (#64207)
* Introduce number platform for Shelly

* coverage

* Rework based on review comment

* Improve logic around channel

* Remove unused value

* rebase

* Removed redundant properties

* Update homeassistant/components/shelly/number.py

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

* Remove channel workaround as currently not needed

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-01-31 22:14:59 +01:00
w35l3y 076faaa4a4
Add support to reprompt user (#65256) 2022-01-31 10:23:26 -08:00
Pascal Winters 0cfc7112fa
Bump pyps4-2ndscreen to 1.3.1 (#65320) 2022-01-31 19:23:07 +01:00
jjlawren 48ae3bece8
Send notification to alert of Sonos networking issues (#65084)
* Send notification to alert of Sonos networking issues

* Add links to documentation
2022-01-31 19:21:21 +01:00
Franck Nijhof b7bf302ef8
Ensure PVOutput connection error is logged (#65319) 2022-01-31 18:42:49 +01:00
Franck Nijhof e5b6a58fab
Update tailscale to 0.2.0 (#65318) 2022-01-31 09:17:35 -08:00
Franck Nijhof 441e81c02a
Add diagnostics support to WLED (#65317) 2022-01-31 09:16:33 -08:00
Franck Nijhof ce6048e705
Fix missing expiration data in Whois information (#65313) 2022-01-31 09:15:13 -08:00
Jeff Irion 5891f65c7e
Bump androidtv to 0.0.61 (#65315) 2022-01-31 18:09:17 +01:00
J. Nick Koston fab9c4aa20
Improve reliability of august setup with recent api changes (#65314) 2022-01-31 10:21:47 -06:00
Franck Nijhof ac32af7004
Update wled to 0.13.0 (#65312) 2022-01-31 18:08:21 +02:00
Franck Nijhof a3f5582010
Update adguard to 0.5.1 (#65305) 2022-01-31 16:31:02 +01:00
Jan Bouwhuis 4991f1a693
Use super() in mqtt siren init (#65291) 2022-01-31 13:16:45 +01:00
Mick Vleeshouwer 216ac65475
Bump pyoverkiz to 1.3.2 (#65293) 2022-01-31 13:08:43 +01:00
starkillerOG cc14acb178
Bump pynetgear to 0.9.1 (#65290) 2022-01-31 13:00:10 +01:00
Duco Sebel ade656a333
Fix HomeWizard unclosed clientsession error when closing Home Assistant (#65296) 2022-01-31 12:49:18 +01:00
fOmey 9b5757dff5
Tuya fan percentage fix (#65225) 2022-01-31 12:37:43 +01:00
Erik Montnemery 80da5c52ae
Correct cast media browse filter for audio groups (#65288) 2022-01-31 11:45:48 +01:00
Erik Montnemery b0c36d7729
Add cast platform for extending Google Cast media_player (#65149)
* Add cast platform for extending Google Cast media_player

* Update tests

* Refactor according to review comments

* Add test for playing using a cast platform

* Apply suggestions from code review

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>

* Pass cast type instead of a filter function when browsing

* Raise on invalid cast platform

* Test media browsing

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-01-31 10:50:05 +01:00
Jan Bouwhuis 6fdaec0847
Add MQTT siren platform (#64440)
* Add mqtt siren draft

* fix tests

* Intergrate notify platform

* tests and fixes siren platform

* Add tests notify platform

* config parameters and abbreviations

* remove duplicate key

* undo move topic abbreviation

* Move const CONF_MESSAGE_COMMAND_TEMPLATE

* Remove notify service integration

* Rework

* Update homeassistant/components/mqtt/siren.py

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

* Publish JSON by default

* Allow unknown state - rename value_template

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-01-31 10:31:57 +01:00
Jan Bouwhuis bfaada34e2
Allow `unknown` state to be set (#65183) 2022-01-31 10:25:08 +01:00
Tobias Sauerwein f6b0f26783
Bump pyatmo to v.6.2.4 (#65285)
* Bump pyatmo to v6.2.3

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Bump pyatmo to v6.2.4

Signed-off-by: cgtobi <cgtobi@gmail.com>
2022-01-31 11:07:50 +02:00
Brett Adams 3536271fce
Add diagnostics to Advantage Air (#65006)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-01-30 20:51:39 -08:00
J. Nick Koston 8c9bd6e790
Increase august timeout and make failure to sync at startup non-fatal (#65281) 2022-01-30 20:50:49 -08:00
J. Nick Koston 2f6bf08165
Fix senseme fan lights (#65217) 2022-01-30 20:24:42 -08:00
J. Nick Koston 7552404f70
Increase the timeout for flux_led directed discovery (#65222) 2022-01-30 20:21:54 -08:00
Brynley McDonald 99f56579a5
Fix flick_electric auth failures (#65274) 2022-01-30 20:21:15 -08:00
J. Nick Koston 6458e45ef0
Simplify whois value_fn (#65265) 2022-01-30 20:19:52 -08:00
J. Nick Koston 73bd8db273
Fix flux_led not generating unique ids when discovery fails (#65250) 2022-01-30 20:17:19 -08:00
Matthias Alphart d4370395e2
Update xknx to 0.19.1 (#65275) 2022-01-30 20:12:44 -08:00
J. Nick Koston 385f1f3dad
Fix powerwall login retry when hitting rate limit (#65245) 2022-01-30 22:09:56 -06:00
Teemu R c985ebb3a7
Bump python-kasa to 0.4.1 for tplink integration (#64123)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-30 20:09:07 -06:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
Jc2k eb94fe1ca7
Use upstream constants when defining homekit service to platform mapping (#65272) 2022-01-30 16:59:01 -06:00
Aaron Bach 58f624a3da
Add diagnostics to SimpliSafe (#65171)
* Add diagnostics to SimpliSafe

* Bump

* Cleanup
2022-01-30 15:37:56 -07:00
Jc2k cc94af2872
Remove deprecated helper functions from homekit_controller pairing flow (#65270) 2022-01-30 16:20:19 -06:00
Shay Levy 5999d08d72
Bump aiowebostv to 0.1.2 (#65267) 2022-01-31 00:04:00 +02:00
Stephan Uhle a4904bd9bc
Add Edl21 unit of measurement mapping (#64926) 2022-01-30 23:01:20 +01:00
Jesse Hills 8b5e76b898
Fix comment typo in ESPHome diagnostics (#65268) 2022-01-30 23:53:46 +02:00
Michael ef74dab352
Fix "internet access" switch for Fritz connected device without known IP address (#65190)
* fix get wan access

* small improvement
- default wan_access to None
- test if dev_info.ip_address is not empty
2022-01-30 13:22:32 -08:00
Robert Svensson ac1b30a78d
Better manage of nested lists (#65176) 2022-01-30 13:20:59 -08:00
J. Nick Koston 62fd31a1e7
Handle missing attrs in whois results (#65254)
* Handle missing attrs in whois results

- Some attrs are not set depending on where the
  domain is registered

- Fixes #65164

* Set to unknown instead of do not create

* no multi-line lambda
2022-01-30 13:19:04 -08:00
Patrik Lindgren 473abb1793
Flag Tradfri groups and YAML as deprecated (#65226) 2022-01-30 22:16:51 +01:00
jjlawren 2129972904
Add activity statistics to Sonos diagnostics (#65214) 2022-01-30 13:15:51 -08:00
Joakim Sørensen 11ad1589fa
Use .json.txt for diagnostics download filetype (#65236) 2022-01-30 13:09:36 -08:00
Ville Skyttä 872bc456a9
Clean up no longer needed Python 3.8 support code (#65231)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-30 15:07:07 -06:00
Shay Levy 9825111c8d
Fix webostv live TV source missing when configuring sources (#65243) 2022-01-30 22:05:30 +01:00
josephnad 75b37bee3d
Add homekit_controller support for ecobee vendor extensions (#60914)
Co-authored-by: josephnad <>
2022-01-30 15:02:47 -06:00
Dave T 0acfc7bbab
Align config flow type hints to scaffold (#65157) 2022-01-30 20:26:28 +01:00
LJU dbbd239b80
Fix typo’s ISS (#65228)
Fix typo’s
2022-01-30 18:54:19 +01:00
J. Nick Koston 1d5a052df1
Fix debugpy blocking the event loop at startup (#65252) 2022-01-30 18:08:37 +01:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
Shay Levy caa5578134
Fix webostv configure sources when selected source is missing (#65195)
* Fix webostv configure sources when selected source is missing

* Add comment for filtering duplicates
2022-01-30 00:15:49 +01:00
Robert Svensson 30440cd1ba
Add logic to avoid creating the same scene multiple times (#65207) 2022-01-30 01:11:28 +02:00
Patrik Lindgren 3ca1b2fc6e
Add air quality sensor for Tradfri air purifier (#65070)
* Add air quality sensor for Tradfri fan platform

* Refactor, use entity description

* Fix typo

* CHange init docstring

* Let lambda handle special case

* Remove unique id

* Apply suggestions from code review

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

* Refactor to constants, add mixin

* Rename lambda

* Update homeassistant/components/tradfri/sensor.py

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

* Update homeassistant/components/tradfri/sensor.py

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

* Update homeassistant/components/tradfri/sensor.py

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

* Replace lambda with function

* Refactor device init

* Remove fixture scope

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-29 23:55:05 +01:00
Aaron Bach cc6b0cc843
Ensure diagnostics redaction can handle lists of lists (#65170)
* Ensure diagnostics redaction can handle lists of lists

* Code review

* Update homeassistant/components/diagnostics/util.py

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

* Code review

* Typing

* Revert "Typing"

This reverts commit 8a57f772ca.

* New typing attempt

* Revert "New typing attempt"

This reverts commit e26e4aae69.

* Fix typing

* Fix typing again

* Add tests

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-29 13:30:15 -07:00
Erik Montnemery d770a54881
Minor refactoring of cast media_player (#65125) 2022-01-29 16:13:59 +01:00
Robert Hillis 4a042e7d73
Bump pyefergy to 22.1.1 (#65156)
* Bump pyefergy to 22.1.0

* uno mas

* uno mas

* uno mas
2022-01-29 16:01:00 +02:00
Robert Svensson c25431750e
Bump dependency to v31 which makes has_relay more robust (#65180) 2022-01-29 15:34:14 +02:00
Marvin Wichmann 98aa69fdaf
Fix KNX Expose for strings longer than 14 bytes (#63026)
* Fix KNX Expose for too long strings

* Fix tests

* Catch exception and avoid error during config entry setup for exposures

* Properly catch exceptions in knx expose

* Fix pylint

* Fix CI

* Add test for conversion error
2022-01-29 14:32:12 +01:00
starkillerOG 8bd7519ea5
Aqara restore door sensor state on start (#65128)
* restore door sensor state on start

* fix import

* fix issues

* also fix Natgas, WaterLeak and Smoke sensors

* remove unnesesary async_schedule_update_ha_state
2022-01-29 14:01:46 +01:00
Simon Hansen 049fc8a945
Add config flow to ISS integration (#64987)
* Initial commit

* Wrong flowhandler name

* Add config flow tests

* Tests for config flow

* ...

* Add test for no coordinates

* ...

* Update homeassistant/components/iss/config_flow.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Update homeassistant/components/iss/config_flow.py

* Update homeassistant/components/iss/binary_sensor.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* Add myself as codeowner

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-01-29 11:41:26 +02:00
Simone Chemelli 3cde472e43
Fix status for Fritz device tracker (#65152) 2022-01-28 21:14:51 -08:00
J. Nick Koston e85e91bdb0
Fix uncaught exception during isy994 dhcp discovery with ignored entry (#65165) 2022-01-28 21:14:30 -08:00
J. Nick Koston 0e6c554b70
Add additional blink OUIs to DHCP discovery (#65162) 2022-01-28 21:14:08 -08:00
J. Nick Koston 4d0dbeb2b5
Add additional roomba OUIs to DHCP discovery (#65161) 2022-01-28 21:13:54 -08:00
J. Nick Koston f585777e56
Add dhcp discovery to oncue (#65160) 2022-01-28 21:13:41 -08:00
J. Nick Koston de36e96481
Add OUI for KL430 tplink light strip to discovery (#65159) 2022-01-28 21:13:28 -08:00
Franck Nijhof 16db8e0802
Fix setting speed of Tuya fan (#65155) 2022-01-28 21:05:53 -08:00
J. Nick Koston 0755310258
Add loggers to zeroconf (#65168)
- The original PR excluded all zeroconf deps, and I forget to add it back
2022-01-28 20:21:05 -08:00
GitHub Action 5e62ff95b9 [ci skip] Translation update 2022-01-29 00:13:03 +00:00
Simone Chemelli 36427fe76c
Fix excepton for SamsungTV getting device info (#65151) 2022-01-28 23:57:12 +02:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
Allen Porter 956ceb6c68
Update nest diagnostics (#65141) 2022-01-28 21:50:38 +01:00
Allen Porter 0c9be604c2
Add diagnostics for rtsp_to_webrtc (#65138) 2022-01-28 09:07:41 -08:00
epenet d0d55db936
Add diagnostics support to onewire (#65131)
* Add diagnostics support to onewire

* Add tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-28 19:00:47 +02:00
Nenad Bogojevic 1a878b4024
Use new withings oauth2 refresh token endpoint (#65134) 2022-01-28 08:48:16 -08:00
Robert Svensson da355438aa
Reconnect client service tried to connect even if device didn't exist (#65082) 2022-01-28 08:33:31 -08:00
Simone Chemelli f369cef32f
Handle FritzInternalError exception for Fritz (#65124) 2022-01-28 08:32:46 -08:00
Shay Levy efbbef5922
Fix Shelly detached switches automation triggers (#65059) 2022-01-28 08:30:44 -08:00
Paulus Schoutsen cf6b3fc810
Add support for proxy-selected intent (#65094) 2022-01-28 08:16:28 -08:00
Allen Porter 444a681729
Bump google-nest-sdm to 1.6.0 (diagnostics) (#65135) 2022-01-28 18:09:08 +02:00
Klaas Schoute 090a8a9439
Add diagnostics support to P1 Monitor (#65060)
* Add diagnostics to P1 Monitor

* Add test for diagnostics
2022-01-28 17:08:29 +02:00
starkillerOG 0b02870489
Goodwe - fix value errors (#65121) 2022-01-28 16:54:19 +02:00
Hans Oischinger a9cc35d6b6
Handle vicare I/O in executor (#65105)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-28 12:06:05 +01:00
Erik Montnemery c470733feb
Fix cast support for browsing local media source (#65115) 2022-01-28 11:38:09 +01:00
Thibaut 65fb6f26f1
Check explicitly for None value in Overkiz integration (#65045) 2022-01-28 10:58:42 +01:00
Joakim Sørensen 0a2f57e4f8
Move netatmo dataclass registrations (#65052) 2022-01-28 10:51:32 +01:00
J. Nick Koston de7f1e793a
Downgrade homekit linked humidity sensor error to debug (#65098)
Fixes #65015
2022-01-28 10:38:13 +02:00
Shay Levy 631c4bf10f
Fix Shelly 1/1PM external temperature sensor unavailable (#65096) 2022-01-27 22:33:12 -08:00
GitHub Action e591393f01 [ci skip] Translation update 2022-01-28 00:14:53 +00:00
Marvin Wichmann 62584b4813
Add tests for KNX diagnostic and expose (#64938)
* Add test for KNX diagnostic

* Add test for KNX expose

* Apply review suggestions
2022-01-27 23:03:20 +01:00
Jc2k f49cfe866a
Support unpairing homekit accessories from homekit_controller (#65065) 2022-01-27 16:02:30 -06:00
G Johansson e92078cf50
Fix Yale optionsflow (#65072) 2022-01-27 21:01:30 +01:00
dougiteixeira 696b930b1c
Complementing the Tuya Curtain (cl) category (#65023)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-27 20:41:13 +01:00
Paulus Schoutsen 8cf1109775
Bump frontend to 20220127.0 (#65075) 2022-01-27 11:22:53 -08:00
epenet d706a7bbde
Update Renault to 0.1.7 (#65076)
* Update Renault to 0.1.7

* Adjust tests accordingly

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-27 20:19:28 +01:00
jjlawren 5a4eeaed56
Guard browsing Spotify if setup failed (#65074)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-27 11:10:19 -08:00
Hans Oischinger f8f8262963
Update PyVicare to 2.16.1 (#65073) 2022-01-27 19:41:50 +01:00
Simon Hansen c5787a5422
Fix typo in entity name for launchlibrary (#65048) 2022-01-27 10:02:10 -08:00
Erik Montnemery 30fd902764
Correct zone state (#65040)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-27 10:01:09 -08:00
Erik Montnemery 176eae701a
Unset Alexa authorized flag in additional case (#65044) 2022-01-27 09:59:58 -08:00
Jc2k a65694457a
Allow homekit_controller to set Ecobee's mode (#65032) 2022-01-27 11:02:38 -06:00
Patrik Lindgren 70321ed795
Add battery sensor for Tradfri blinds (#65067) 2022-01-27 17:47:47 +01:00
Chris Talkington e0d970c739
Update rokuecp to 0.12.0 (#65030) 2022-01-27 10:43:23 -06:00
Jc2k 603d0fb068
Allow homekit_controller to customise Ecobee home/sleep/away thresholds (#65036) 2022-01-27 10:41:53 -06:00
Martin Hjelmare 3d461e9e1f
Fix notify leaving zone blueprint (#65056) 2022-01-27 17:37:40 +01:00
Jc2k 9799965c62
Better names for energy related homekit_controller sensors (#65055) 2022-01-27 10:08:26 -06:00
Marc Mueller 3a45168b97
Improve proximity typing (#65053)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-27 17:05:08 +01:00
Marc Mueller c3967dec10
Fix vera typing (#65051) 2022-01-27 17:00:30 +01:00
Duco Sebel 4f3ce27560
Add `flow_title` for HomeWizard Energy (#65047) 2022-01-27 14:30:31 +01:00
Arjan van Balken f4ed28ab09
Update Arris TG2492LG dependency to 1.2.1 (#64999) 2022-01-27 11:48:37 +01:00
Patrik Lindgren 9d404b749a
Implement coordinator class for Tradfri integration (#64166)
* Initial commit coordinator

* More coordinator implementation

* More coordinator implementation

* Allow integration reload

* Move API calls to try/catch block

* Move back fixture

* Remove coordinator test file

* Ensure unchanged file

* Ensure unchanged conftest.py file

* Remove coordinator key check

* Apply suggestions from code review

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

* Import RequestError

* Move async_setup_platforms to end of setup_entry

* Remove centralised handling of device data and device controllers

* Remove platform_type argument

* Remove exception

* Remove the correct exception

* Refactor coordinator error handling

* Apply suggestions from code review

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

* Remove platform type from base class

* Remove timeout context manager

* Refactor exception callback

* Simplify starting device observation

* Update test

* Move observe start into update method

* Remove await self.coordinator.async_request_refresh()

* Refactor cover.py

* Uncomment const.py

* Add back extra_state_attributes

* Update homeassistant/components/tradfri/coordinator.py

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

* Refactor switch platform

* Expose switch state

* Refactor sensor platform

* Put back accidentally deleted code

* Add set_hub_available

* Apply suggestions from code review

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

* Fix tests for fan platform

* Update homeassistant/components/tradfri/base_class.py

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

* Update homeassistant/components/tradfri/base_class.py

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

* Fix non-working tests

* Refresh sensor state

* Remove commented line

* Add group coordinator

* Add groups during setup

* Refactor light platform

* Fix tests

* Move outside of try...except

* Remove error handler

* Remove unneeded methods

* Update sensor

* Update .coveragerc

* Move signal

* Add signals for groups

* Fix signal

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-27 11:12:52 +01:00
Paulus Schoutsen 3daaed1056
Catch connection reset error (#65027) 2022-01-27 11:02:27 +01:00