Commit Graph

45790 Commits (009b31941a45c3d880b69dcf91d14edeb61a78a7)

Author SHA1 Message Date
Erik Montnemery 009b31941a
Support restoring SensorEntity native_value () 2022-02-08 14:00:26 -08:00
Patrik Lindgren f8a84f0101
Add diagnostics for Tradfri platform ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 22:05:33 +01:00
epenet 86ab500afd
Add Renault hvac sensors ()
* 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 () 2022-02-08 12:49:25 -08:00
J. Nick Koston 07b3d23835
Improve wiz performance () 2022-02-08 21:34:52 +01:00
Sander Jochems d574e54fd8
Fivem code quality improvements ()
* 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 () 2022-02-08 21:17:49 +02:00
J. Nick Koston d62e9c2b92
Loosen wiz discovery matching () 2022-02-08 19:57:21 +01:00
Franck Nijhof 41a4d40b71
Reuse existing coordinator entity update in Plugwise platforms ()
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 () 2022-02-08 20:27:16 +02:00
Franck Nijhof 1bc82e2f85
Use legacy pip resolver in machine builds () 2022-02-08 19:18:04 +01:00
jjlawren a7fd477c64
Refactor Sonos polling ()
* 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 () 2022-02-08 19:08:01 +01:00
Mick Vleeshouwer 199c8fef40
Fix MyFox Camera Shutter entity in Overkiz integration () 2022-02-08 17:49:38 +01:00
Allen Porter 6f46d98308
Bump python-nest to 4.2.0 for python 3.10 fixes () 2022-02-08 08:40:06 -08:00
Franck Nijhof a500205545
Fix typo in base image tag () 2022-02-08 16:27:44 +01:00
Mick Vleeshouwer b6ad79e2b8
Update PyOverkiz to 1.3.4 () 2022-02-08 16:11:05 +01:00
Franck Nijhof 59c7af0f80
Update base image to 2022.02.0 () 2022-02-08 16:10:17 +01:00
Franck Nijhof 473834acd2
Add myself as codeowner to Plugwise () 2022-02-08 15:23:11 +01:00
Pablo Ovelleiro Corral 46b7b1ffb3
Increase timeout for InfluxDB v2 connections ()
* 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 () 2022-02-08 15:14:33 +01:00
Tiernan 2df5060d80
Fix TOD incorrectly determining the state between sunrise and sunset ()
* Fix TOD component incorrectly determining the state between sunrise and sunset ()

* 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 () 2022-02-08 14:05:35 +02:00
Eduard van Valkenburg f74706a265
Bump azure-eventhub to 5.7.0 () 2022-02-08 12:56:24 +01:00
Franck Nijhof 1fc717ed1c
Add diagnostics support to Plugwise () 2022-02-08 12:43:45 +01:00
Franck Nijhof d12a392767
Update plugwise 0.16.2 () 2022-02-08 11:13:05 +01:00
Sander Jochems 0ea82bdbfb
Fivem integration ()
* 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 () 2022-02-08 10:03:27 +01:00
Maikel Punie a03d8179d0
Bump velbusaio to 2022.2.3 () 2022-02-08 09:48:42 +01:00
Raman Gupta 4076ca9641
Fix schema for zwave_js WS API () 2022-02-07 21:53:48 -08:00
Franck Nijhof 895aee3fb2
Add configuration_url to Plugwise discovery () 2022-02-08 03:00:41 +01:00
Franck Nijhof 379945860b
Add configuration_url to Octoprint discovery () 2022-02-08 02:59:38 +01:00
Franck Nijhof 22e379cd54
Add support for mc devices to Tuya () 2022-02-08 02:56:32 +01:00
starkillerOG f9c81dd00b
Lock Netgear api during setup () 2022-02-08 02:50:38 +01:00
Patrik Lindgren afd0005a31
Add sensor for filter time left on Tradfri fan platform ()
* 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 () 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 () 2022-02-07 16:00:57 -08:00
Erik Montnemery 33623c3fe8
Fix race in MQTT sensor and binary_sensor expire_after () 2022-02-07 15:47:23 -08:00
Erik Montnemery 39ed628cca
Suppress unwanted error messages during recorder migration () 2022-02-07 15:46:40 -08:00
J. Nick Koston 95cc677ba6
Fix decoding discovery with old Magic Home firmwares () 2022-02-07 15:45:50 -08:00
J. Nick Koston 175812d9e1
Fix missing exception catch in august to prevent failed setup () 2022-02-07 15:45:40 -08:00
Paulus Schoutsen 95a890c6e1
Get_url to prefer external URL if SSL configured () 2022-02-07 15:44:02 -08:00
Erik Montnemery 7cc6770f83
Revert "Make idle chromecasts appear as idle instead of off" () 2022-02-07 20:24:30 +01:00
Franck Nijhof 4732e37005
Remove passing loop into sleep in SamsungTV () 2022-02-07 20:08:54 +01:00
J. Nick Koston 721d711762
Add firmware and hardware version to WiZ () 2022-02-07 19:23:08 +01:00
G Johansson 480ce84b8a
Improve code quality filesize () 2022-02-07 11:59:06 -06:00
Erik Montnemery 910b1f1ec8
Speed up deletion of duplicated statistics () 2022-02-07 09:11:52 -08:00
J. Nick Koston ace74279f1
Move WiZ socket ident to upstream lib () 2022-02-07 17:44:52 +01:00
Vincent Le Bourlot d82899ed2f
Add title placeholders to overkiz discovery ()
* 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