Commit Graph
114151 Commits
Author SHA1 Message Date
jjlawren f08ebf5b7e Bump plexapi to 4.9.2 (#65972) 2022-02-08 12:03:33 -08:00
TiernanandNikolay Vasilchuk 49d6048278 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 12:03:32 -08:00
Paulus Schoutsen ceae63d457 Fix UPNP access to SSDP info (#65728) 2022-02-08 12:03:31 -08: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 NijhofandMartin Hjelmare 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
Franck Nijhof 1bc82e2f85 Use legacy pip resolver in machine builds (#66094) 2022-02-08 19:18:04 +01: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
Franck Nijhof a500205545 Fix typo in base image tag (#66087) 2022-02-08 16:27:44 +01:00
Mick Vleeshouwer b6ad79e2b8 Update PyOverkiz to 1.3.4 (#66076) 2022-02-08 16:11:05 +01:00
Franck Nijhof 59c7af0f80 Update base image to 2022.02.0 (#66082) 2022-02-08 16:10:17 +01:00
Franck Nijhof 473834acd2 Add myself as codeowner to Plugwise (#66080) 2022-02-08 15:23:11 +01:00
Pablo Ovelleiro CorralandMike Degatano 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
TiernanandNikolay Vasilchuk 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
Tobias Sauerwein 8b38fa58aa Bump pytest to 7.0.0 (#65981) 2022-02-08 10:03:27 +01: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 LindgrenandMartin Hjelmare 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 BourlotandJ. Nick Koston 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 LamasandShay Levy 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