Commit Graph

35747 Commits (d62e9c2b922aec4d59ba176f28fe5712a0e7a6ec)

Author SHA1 Message Date
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
Paulus Schoutsen 95a890c6e1
Get_url to prefer external URL if SSL configured (#66039) 2022-02-07 15:44:02 -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
Franck Nijhof da3024e162
Upgrade to newer Python pip>=21.0 (#59769) 2022-02-07 15:12:04 +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