1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-01 08:53:56 +00:00
Commit Graph

10276 Commits

Author SHA1 Message Date
Matthias Alphart
a87ed13a04 Silently retry Fronius inverter endpoint 2 times (#61826) 2021-12-19 22:29:42 -08:00
RDFurman
c507c72350 Honeywell unique id fix (#59393)
* Move error logging and remove reload

* Change device assignment and improve logging

* Use dictionary for devices

* Check if new device exists in API response

* Add test and make loop better

* Make test assert on error in log
2021-12-19 22:29:40 -08:00
epenet
cb89688873 Fix OwnetError preventing onewire initialisation (#61696)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-17 11:40:27 +01:00
Ian
499cc2e51d Nextbus upcoming sort as integer (#61416) 2021-12-17 11:33:21 +01:00
Allen Porter
86622794e0 Bump google-nest-sdm to 0.4.8 (#61851) 2021-12-15 16:03:30 +01:00
Marvin Wichmann
f271fea07c Allow setting local_ip for knx routing connections (#61836) 2021-12-15 16:03:24 +01:00
Erik Montnemery
40f76d4ed9 Don't override pychromecast MediaController's APP ID (#61796) 2021-12-15 16:03:07 +01:00
Marcel van der Veldt
bbef38964d Fix Flash effect for Hue lights (#61733) 2021-12-15 16:02:52 +01:00
Marcel van der Veldt
03b88af032 Fix turn_off with transition for grouped Hue lights (#61728)
* fix turn_off with transition for grouped hue lights

* add test
2021-12-15 16:02:49 +01:00
Allen Porter
1833ab96dc Suppress errors for legacy nest api when using media source (#61629) 2021-12-15 16:02:29 +01:00
Allen Porter
22530f72f3 Only publish nest camera event messages once per thread and bump nest version (#61587) 2021-12-12 14:14:12 -08:00
Marcel van der Veldt
0924874d4b Fix Hue transition calculation (#61581) 2021-12-12 14:14:11 -08:00
J. Nick Koston
e7d06e3f6a Fix HomeKit covers with device class window and no tilt (#61566) 2021-12-12 14:14:10 -08:00
Allen Porter
a2fc870266 Update logic for nest media source can_play for events (#61537) 2021-12-12 14:14:09 -08:00
Marcel van der Veldt
2e989bdfcf Fix typo in Hue device triggers - use enum value (#61498) 2021-12-11 18:14:45 +01:00
J. Nick Koston
dd47f0b698 Fix exception in color_rgb_to_rgbww (#61466) 2021-12-11 13:36:20 +01:00
Marcel van der Veldt
7b64eabde1 Small fix for device triggers and events on Hue integration (#61462) 2021-12-11 13:36:13 +01:00
Erik Montnemery
d20496a1bc Correct rest sensor configured to generate timestamps (#61429) 2021-12-11 13:26:33 +01:00
Erik Montnemery
4496aeb327 Correct recorder.statistics.get_last_statistics (#61421) 2021-12-11 13:26:30 +01:00
J. Nick Koston
81b1b04210 Fix flux_led discovery with older models (#61413) 2021-12-11 13:26:17 +01:00
Matthias Alphart
c51c18781d Fix unique_id of S0 meters connected to Fronius inverters (#61408) 2021-12-11 13:26:06 +01:00
Aaron Bach
abe6f1ab5b Consolidate SimpliSafe config flow forms into one (#61402) 2021-12-09 14:42:04 -08:00
Stefan Agner
d7708d58ba Introduce only_supervisor for @websocket_api.ws_require_user() (#61298) 2021-12-09 12:08:16 +01:00
Franck Nijhof
1ddb0d255a Fix date/datetime support for templates (#61088)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-09 12:07:45 +01:00
Stefan Agner
89eed9c31e Allow to lock SQLite database during backup (#60874)
* Allow to set CONF_DB_URL

This is useful for test which need a custom DB path.

* Introduce write_lock_db helper to lock SQLite database

* Introduce Websocket API which allows to lock database during backup

* Fix isort

* Avoid mutable default arguments

* Address pylint issues

* Avoid holding executor thread

* Set unlock event in case timeout occures

This makes sure the database is left unlocked even in case of a race
condition.

* Add more unit tests

* Address new pylint errors

* Lower timeout to speedup tests

* Introduce queue overflow test

* Unlock database if necessary

This makes sure that the test runs through in case locking actually
succeeds (and the test fails).

* Make DB_LOCK_TIMEOUT a global

There is no good reason for this to be an argument. The recorder needs
to pick a sensible value.

* Add Websocket Timeout test

* Test lock_database() return

* Update homeassistant/components/recorder/__init__.py

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

* Fix format

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-12-09 12:07:41 +01:00
Paulus Schoutsen
700eaf8794 Fix islamic prayer times timestamp sensor (#61207) 2021-12-08 11:01:56 -08:00
J. Nick Koston
04a2e1fd7b Fix uncaught exception in bond config flow (#61184) 2021-12-08 11:01:49 -08:00
Erik Montnemery
707e501511 Skip duplicated data when calculating fossil energy consumption (#60599) 2021-12-08 11:01:46 -08:00
einarhauks
fecfbba442 Display energy in wh instead of kWh (#61169) 2021-12-07 12:54:21 -08:00
Tobias Sauerwein
816b5af883 Fix Netatmo climate issue (#61154)
Signed-off-by: cgtobi <cgtobi@gmail.com>
2021-12-07 12:54:19 -08:00
Erik Montnemery
78ada630c0 Guard against missing states in Alexa state updates (#61152) 2021-12-07 12:54:18 -08:00
Marcel van der Veldt
4ad904f3b7 Change check for existence of options flow (#61147)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-07 12:54:16 -08:00
Erik Montnemery
8da3756602 Bump hatasmota to 0.3.1 (#61120) 2021-12-07 12:54:15 -08:00
Marcel van der Veldt
d1672a1e9a Remove colon from default entity name in Hue integration (#61118) 2021-12-06 15:53:58 -08:00
Erik Montnemery
3ba07ce395 Fix CO2 calculation when data is missing (#61106) 2021-12-06 15:53:56 -08:00
Marcel van der Veldt
ef0f3f7ce9 Fix migration of entities of Hue integration (#61095)
* fix device name in log

* Fix Hue migration for all id versions

* fix tests

* typo

* change to bit more universal approach

* fix test again

* formatting
2021-12-06 15:53:54 -08:00
epenet
cb371ef27c Prevent log flooding in frame helper (#61085)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-06 15:53:54 -08:00
J. Nick Koston
e09245eb14 Fix missing unique id in enphase_envoy (#61083) 2021-12-06 15:53:52 -08:00
Allen Porter
f4a38c0190 Coalesce nest media source preview clips by session and bump google-nest-sdm (#61081) 2021-12-06 15:53:50 -08:00
J. Nick Koston
ec88a42948 Abort flux_led discovery if another device gets the ip (#61074)
- If the dhcp reservation expired for the device that
  was at the ip and a new flux_led device appears we
  would discover it because the unique_id did not match
2021-12-06 15:51:59 -08:00
Allen Porter
0c87885f41 Fix regression in nest event media player with multiple devices (#61064) 2021-12-06 15:51:56 -08:00
schreyack
34f728e5d2 Fix previous setting briefly appearing on newer flux_led devices when turning on (#60004)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-06 15:51:54 -08:00
Allen Porter
377046bff5 Fetch media for events for rendering in the nest media player (#61056) 2021-12-05 09:52:28 -08:00
Marcel van der Veldt
dd95b9b1e4 Disable options flow for Hue V2 bridges (#61045) 2021-12-05 09:52:28 -08:00
Franck Nijhof
7a4f1c3147 Handle unknown/unavailable state for mobile_app (#60974) 2021-12-05 09:52:24 -08:00
J. Nick Koston
4e957b1dbe Fix lutron caseta discovery with newer firmwares (#61029) 2021-12-05 09:43:51 -08:00
Allen Porter
c4fe3d05f2 Improve nest media source event timestamp display (#61027)
Drop subsecond text from the nest media source event timestamp display, using a common date/time
template string.
2021-12-05 09:43:51 -08:00
Marvin Wichmann
f81055dc09 Add missing local_ip to KNX config flow and options flow (#61018)
* Add missing local_ip to KNX config flow and options flow

* Update strings
2021-12-05 09:43:50 -08:00
Martin Hjelmare
18f36b9c0b Revert metoffice weather daytime (#60978) 2021-12-05 09:43:45 -08:00
J. Nick Koston
11b343a513 Fix yeelight name changing to ip address if discovery fails (#60967) 2021-12-05 09:43:42 -08:00