Commit Graph
42564 Commits
Author SHA1 Message Date
Paulus SchoutsenandFranck Nijhof e66f0a68e7 Guard cannot connect during Tuya init (#61267) 2021-12-09 12:07:58 +01:00
Paulus SchoutsenandFranck Nijhof 5c70ddb7cb Fix smartthings timestamp sensor (#61254) 2021-12-09 12:07:55 +01:00
79501289f0 Correct state class for Tasmota sensors (#61236)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-09 12:07:51 +01:00
Allen PorterandFranck Nijhof 7ee148c650 Display nest media events using local time (#61143) 2021-12-09 12:07:48 +01:00
Franck NijhofandPaulus Schoutsen 1ddb0d255a Fix date/datetime support for templates (#61088)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-09 12:07:45 +01:00
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 0cb0136b2f Bumped version to 2021.12.0b4 2021.12.0b4 2021-12-08 11:02:14 -08:00
Paulus Schoutsen 36eca38be2 don't convert GTFS timestamp to UTC in timestamp sensor (#61221) 2021-12-08 11:02:05 -08:00
Paulus Schoutsen 0b470bb8fb Fix follow-up review comment for bbox (#61219) 2021-12-08 11:02:04 -08:00
Paulus Schoutsen 030ac3d762 Fix yandex_transport timestamp sensor (#61217) 2021-12-08 11:02:04 -08:00
Paulus Schoutsen b5b2c3cc0d Fix vallox timestamp sensor (#61216)
* Fix vallox timestamp sensor

* Change old state type
2021-12-08 11:02:03 -08:00
Paulus Schoutsen 7940aab4c5 Fix repetier timestamp sensors (#61214) 2021-12-08 11:02:02 -08:00
Paulus Schoutsen 2513347e27 Fix oasa_telematics timestamp sensor (#61213) 2021-12-08 11:02:01 -08:00
Paulus Schoutsen e6b784e4f2 Fix nextbus timestamp sensor (#61212) 2021-12-08 11:02:00 -08:00
Paulus Schoutsen d080c31583 Fix modern_forms timestmap sensors (#61211) 2021-12-08 11:01:59 -08:00
Paulus Schoutsen e68dcff3f3 Fix meteo_france timestamp sensor (#61210) 2021-12-08 11:01:58 -08:00
Paulus Schoutsen 66fa6dff93 Fix lyric timestamp sensor (#61209)
* Fix lyric timestamp sensor

* Update type
2021-12-08 11:01:57 -08:00
Paulus Schoutsen d533aba4f9 Fix litterrobot timestamp sensor (#61208)
* Fix litterrobot timestamp sensor

* Update type
2021-12-08 11:01:56 -08:00
Paulus Schoutsen 700eaf8794 Fix islamic prayer times timestamp sensor (#61207) 2021-12-08 11:01:56 -08:00
Paulus Schoutsen 7583d9a409 Fix hydrawise timestamp sensor (#61206) 2021-12-08 11:01:55 -08:00
Paulus Schoutsen dc3ece447b Fix hvv_departures timestamp sensor (#61205) 2021-12-08 11:01:54 -08:00
Paulus Schoutsen 2c0e406c1b Fix gtfs timestamp sensor (#61204) 2021-12-08 11:01:53 -08:00
Paulus Schoutsen 67c808bde9 Fix flipr timestamp sensor (#61203) 2021-12-08 11:01:52 -08:00
Paulus Schoutsen 2fa2a2e6d4 Fix bbox timestamp (#61202) 2021-12-08 11:01:52 -08:00
Paulus Schoutsen 8735395144 Fix Rova using strings as timestamp (#61201) 2021-12-08 11:01:51 -08:00
J. Nick KostonandPaulus Schoutsen 428129cad7 Fix log spam from flux_led 0x08 devices when in music mode (#61196) 2021-12-08 11:01:50 -08:00
puddlyandPaulus Schoutsen 64c52aecef Bump ZHA dependency zigpy-znp from 0.6.3 to 0.6.4 (#61194) 2021-12-08 11:01:49 -08:00
J. Nick KostonandPaulus Schoutsen 04a2e1fd7b Fix uncaught exception in bond config flow (#61184) 2021-12-08 11:01:49 -08:00
Robert BlomqvistandPaulus Schoutsen bdc37e9353 Rephrase upgrade notification message to avoid installing Python 3.10 (#61181) 2021-12-08 11:01:48 -08:00
Jan BouwhuisandPaulus Schoutsen a581095bd0 Fix pvoutput template use and REST integer parsing (#61171)
* Fix pvoutput template use and REST integer parsing

* revert accepting templates as input
2021-12-08 11:01:47 -08:00
Erik MontnemeryandPaulus Schoutsen 707e501511 Skip duplicated data when calculating fossil energy consumption (#60599) 2021-12-08 11:01:46 -08:00
Paulus Schoutsen 9f1701f557 Bumped version to 2021.12.0b3 2021.12.0b3 2021-12-07 12:54:28 -08:00
Charles GarwoodandPaulus Schoutsen 61545edd96 Remove loopenergy integration (#61175)
* Remove loopenergy integration

* Fix requirements_all.txt

* Fix requirements_test_all.txt
2021-12-07 12:54:22 -08:00
Allen PorterandPaulus Schoutsen e09c85c591 Bump nest to 0.4.5 to fix media player event expiration (#61174) 2021-12-07 12:54:21 -08:00
einarhauksandPaulus Schoutsen fecfbba442 Display energy in wh instead of kWh (#61169) 2021-12-07 12:54:21 -08:00
Aaron BachandPaulus Schoutsen 13ce6edc68 Bump py17track to 2021.12.2 (#61166) 2021-12-07 12:54:20 -08:00
Tobias SauerweinandPaulus Schoutsen 816b5af883 Fix Netatmo climate issue (#61154)
Signed-off-by: cgtobi <cgtobi@gmail.com>
2021-12-07 12:54:19 -08:00
Erik MontnemeryandPaulus Schoutsen 78ada630c0 Guard against missing states in Alexa state updates (#61152) 2021-12-07 12:54:18 -08:00
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
Fredrik ErlandssonandPaulus Schoutsen fa447332c6 Fix point availability (#61144) 2021-12-07 12:54:15 -08:00
Erik MontnemeryandPaulus Schoutsen 8da3756602 Bump hatasmota to 0.3.1 (#61120) 2021-12-07 12:54:15 -08:00
G JohanssonandPaulus Schoutsen 01adc6a042 Improve code quality trafikverket_weatherstation (#61044)
* Code quality trafikverket_weatherstation

* Updates from review

* Fix extra attributes settings

* Fix for additional review comments
2021-12-07 12:54:14 -08:00
Paulus Schoutsen d105e9f99e Bumped version to 2021.12.0b2 2021.12.0b2 2021-12-06 15:54:09 -08:00
Paulus Schoutsen 348079f069 Bump frontend to 20211206.0 (#61133) 2021-12-06 15:54:01 -08:00
Aaron BachandPaulus Schoutsen 86f5165e4c Deprecate entity_id parameter in Guardian service calls (#61129) 2021-12-06 15:54:00 -08:00
jjlawrenandPaulus Schoutsen b6d012222a Improve Sonos activity debug logging (#61122) 2021-12-06 15:53:59 -08:00
Aaron BachandPaulus Schoutsen 0532c22069 Bump simplisafe-python to 2021.12.0 (#61121) 2021-12-06 15:53:58 -08:00
Marcel van der VeldtandPaulus Schoutsen d1672a1e9a Remove colon from default entity name in Hue integration (#61118) 2021-12-06 15:53:58 -08:00
Paulus Schoutsen 725e3046db Return native timestamps for home connect (#61116) 2021-12-06 15:53:57 -08:00
Paulus Schoutsen 325aa66b8c Bump aiohue to 3.0.2 (#61115) 2021-12-06 15:53:56 -08:00