1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-03 22:39:58 +00:00
Commit Graph

10293 Commits

Author SHA1 Message Date
Franck Nijhof
d315dc2ce4 Hotfix for Nuki integration tests (#63007) 2021-12-29 16:52:55 +01:00
Marcel van der Veldt
70c16d4fb7 Normalize Hue colortemp if value outside of bounds (#62998) 2021-12-29 15:59:44 +01:00
Marcel van der Veldt
f7e5f1cc23 Fix short flash effect in Hue integration (#62988) 2021-12-29 15:59:27 +01:00
Pascal Reeb
d62d013fb6 Fix unique_id of nuki config entry (#62840)
* fix(nuki): fixed naming of nuki integration

* parse_id function

* migration path

* fixes from ci runs

* don't update title if it was changed

* move to dedicated helper

* use dict of params

* Update homeassistant/components/nuki/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-29 15:59:00 +01:00
corneyl
315864acbc Fix keyerror when no previous Picnic orders exist (#62870) 2021-12-27 21:47:15 +01:00
jjlawren
3de9c425f6 Bump soco to 0.25.2 (#62691) 2021-12-27 21:41:05 +01:00
corneyl
1f82fbe019 Fix picnic sensor time unit (#62437) 2021-12-27 21:40:08 +01:00
Marcel van der Veldt
3076ead727 Fix Hue button events (#62669) 2021-12-23 17:22:30 +01:00
Christian Manivong
7523044d65 Round Hue transition to steps of 100ms (#62619)
* Adding round() to transition before firing turn_on, turn_off #62608
2021-12-23 17:22:13 +01:00
Eugenio Panadero
a66d63e439 Fix pvpc_hourly_pricing by changing data source and modernise integration (#62591) 2021-12-23 17:21:33 +01:00
Erik Montnemery
68f3f8db1e Improve google cast state reporting (#62587) 2021-12-23 17:16:46 +01:00
schmyd
050bddb9fe Fix deconz light service parameter handling (#62128)
* Only check presence of values, not their content

* Add tests

* Revert "Only check presence of values, not their content"

This reverts commit 046f0ed5fd631cbac0d26e4d3869ad2c6254c0f9.

* Validate existence of keys, not their values

* Properly handle cases of missing keys
2021-12-23 17:09:38 +01:00
Erik Montnemery
836d8a6fca Make it possible to turn on audio only google cast devices (#62420) 2021-12-20 11:18:28 -08:00
Matthias Alphart
5a2bc8e493 Update xknx to 0.18.14 (#62411)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-20 10:26:27 -08:00
Erik Montnemery
dcc08a0aac Don't use the homeassistant media app when casting media (#62385) 2021-12-20 10:24:40 -08:00
Eric Severance
bfd8579566 Bump pywemo==0.7.0 (#62360) 2021-12-19 22:32:36 -08:00
Diego Elio Pettenò
311ebd4a96 Bump async-upnp-client to 0.23.0 (#62223) 2021-12-19 22:31:18 -08:00
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