1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-02 09:16:11 +00:00
Commit Graph

59569 Commits

Author SHA1 Message Date
Pierre Ståhl
91023cf132 Sort Apple TV app list by name (#65386) 2022-02-02 18:10:54 +01:00
Pierre Ståhl
fcd14e2830 Fix disconnect bug in Apple TV integration (#65385) 2022-02-02 18:10:49 +01:00
jjlawren
40a174cc70 Detect battery-operated Sonos devices going offline (#65382) 2022-02-02 18:10:44 +01:00
J. Nick Koston
95d4be375c Handle brightness being None for senseme (#65372) 2022-02-02 18:10:40 +01:00
Jan Bouwhuis
37f9c833c0 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 18:10:36 +01:00
Erik Montnemery
b902c59504 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 18:10:30 +01:00
Erik Montnemery
fda0fbd115 Stringify MQTT payload in mqtt/debug/info WS response (#65429) 2022-02-02 18:08:48 +01:00
Erik Montnemery
5a34feb7de Don't warn on time.sleep injected by the debugger (#65420) 2022-02-02 08:58:14 -08: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
ba237fd383 Bumped version to 2022.2.0b6 2022.2.0b6 2022-02-01 10:00:39 -08:00
Paulus Schoutsen
b687f68d53 Bump frontend to 20220201.0 (#65380) 2022-02-01 10:00:36 -08:00
Robert Svensson
f3c39d8dca Redact host address in UniFi diagnostics (#65379) 2022-02-01 09:59:25 -08:00
Michael
19fff6489b Fix wan_access switch for disconnected devices in Fritz!Tools (#65378) 2022-02-01 09:59:24 -08:00
Bram Kragten
4f8752b351 Allow removing keys from automation (#65374) 2022-02-01 09:59:23 -08:00
G Johansson
03bd3f5001 Fix options for dnsip (#65369) 2022-02-01 09:59:22 -08:00
Erik Montnemery
055382c84c Improve CastProtocol (#65357)
* Improve CastProtocol

* Tweak
2022-02-01 09:59:21 -08:00
Paulus Schoutsen
68651be2cc Simplify unifi cleanup logic (#65345) 2022-02-01 09:59:21 -08:00
schreyack
09c2c129b9 Fix honeywell hold mode (#65327)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-01 09:59:20 -08:00
ZuluWhiskey
7fe1b85495 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:59:19 -08: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