Commit Graph
42606 Commits
Author SHA1 Message Date
Paulus SchoutsenandGitHub b7539fc0de Fix islamic prayer times timestamp sensor (#61207) 2021-12-07 23:39:27 -08:00
Paulus SchoutsenandGitHub 7b3a7ee2d1 Jewish Calendar: Do not convert datetimes to UTC (#61222) 2021-12-07 23:38:52 -08:00
Paulus SchoutsenandGitHub c8fbf4c339 don't convert GTFS timestamp to UTC in timestamp sensor (#61221) 2021-12-08 08:26:45 +01:00
Paulus SchoutsenandGitHub a81026ea90 Fix follow-up review comment for bbox (#61219) 2021-12-07 23:14:21 -08:00
Paulus SchoutsenandGitHub 1ca8df9584 Fix hydrawise timestamp sensor (#61206) 2021-12-07 22:56:22 -08:00
Paulus SchoutsenandGitHub 6b6b60b589 Fix hvv_departures timestamp sensor (#61205) 2021-12-07 22:56:07 -08:00
Paulus SchoutsenandGitHub ef70dec7a4 Fix Rova using strings as timestamp (#61201) 2021-12-07 22:55:43 -08:00
Paulus SchoutsenandGitHub e011073789 Fix gtfs timestamp sensor (#61204) 2021-12-07 22:49:43 -08:00
Paulus SchoutsenandGitHub 113a850c69 Fix flipr timestamp sensor (#61203) 2021-12-07 22:48:04 -08:00
Paulus SchoutsenandGitHub fa75c1f92f Fix bbox timestamp (#61202) 2021-12-07 22:47:38 -08:00
Paulus SchoutsenandGitHub 271b798dc9 Fix lyric timestamp sensor (#61209)
* Fix lyric timestamp sensor

* Update type
2021-12-07 22:46:45 -08:00
Paulus SchoutsenandGitHub 2c451e6a76 Fix litterrobot timestamp sensor (#61208)
* Fix litterrobot timestamp sensor

* Update type
2021-12-07 22:38:35 -08:00
Paulus SchoutsenandGitHub 566cf9785e Fix modern_forms timestmap sensors (#61211) 2021-12-07 22:35:38 -08:00
Paulus SchoutsenandGitHub 3519ad4309 Fix vallox timestamp sensor (#61216)
* Fix vallox timestamp sensor

* Change old state type
2021-12-07 22:35:13 -08:00
Paulus SchoutsenandGitHub 0780bf142f Fix meteo_france timestamp sensor (#61210) 2021-12-07 22:25:42 -08:00
Paulus SchoutsenandGitHub ea42384afd Fix nextbus timestamp sensor (#61212) 2021-12-07 22:23:14 -08:00
Paulus SchoutsenandGitHub 6257b3e070 Fix oasa_telematics timestamp sensor (#61213) 2021-12-07 22:14:52 -08:00
Paulus SchoutsenandGitHub 4819484cbb Fix yandex_transport timestamp sensor (#61217) 2021-12-07 22:14:28 -08:00
Paulus SchoutsenandGitHub 21f897bb5b Fix repetier timestamp sensors (#61214) 2021-12-07 22:12:26 -08:00
54d55fdf88 Use list comprehension in onewire sensor descriptions (#61157)
* Add 0-3 range to constants

* Use list comprehension in sensor definitions

Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-07 23:06:27 -06:00
Daniel Hjelseth HøyerandGitHub 8cee47072d Add local access for Adax (#60019) 2021-12-07 16:48:16 -10:00
J. Nick KostonandGitHub df9154268e Update MagicHome/flux_led OUIs for DHCP discovery (#61192) 2021-12-07 20:15:56 -06:00
J. Nick KostonandGitHub 81dc84aef5 Fix log spam from flux_led 0x08 devices when in music mode (#61196) 2021-12-07 17:20:55 -08:00
J. Nick KostonandGitHub 6b70bd7495 Fix uncaught exception in bond config flow (#61184) 2021-12-07 17:20:38 -08:00
Robert BlomqvistandGitHub ea58778a5c Rephrase upgrade notification message to avoid installing Python 3.10 (#61181) 2021-12-07 17:19:23 -08:00
GitHub Action d69c6e3ab3 [ci skip] Translation update 2021-12-08 00:13:50 +00:00
puddlyandGitHub 1768b19f71 Bump ZHA dependency zigpy-znp from 0.6.3 to 0.6.4 (#61194) 2021-12-07 18:38:34 -05:00
b0affe7bfb Elmax integration (#59321)
* Add elmax integration.

* Run hassfest and generate requirements_all

* Remove secondary platforms from elmax integration as per first component integration.

* Move ElmaxCoordinator and ElmaxEntity into external file
Linting review

* Remove useless variables

* Fix wrong indentation.

* Remove unecessary platforms.

* Remove unnecessary attributes from manifest.

* Rely on property getters/setters rathern than private attribute from parent.
Update internal entity state just after transitory state update.

* Update homeassistant/components/elmax/const.py

Reference Platform constant

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>

* Update username/password values

Rely on already-present templating constants

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>

* Add missing constant import.

* Remove unnecessary test_unhandled_error() callback implementation.

* Add common.py to coverage ignore list.

* Improve coverage of config_flow.

* Rename the integration.

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Fix reauth bug and improve testing.

* Refactor lambdas into generators.

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-07 22:42:55 +01:00
7c7df5bb51 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:50:34 -08:00
Erik MontnemeryandGitHub 4a814405c2 Minor deduplication of condition validation code (#61170) 2021-12-07 11:55:16 -08:00
einarhauksandGitHub dced4d4542 Display energy in wh instead of kWh (#61169) 2021-12-07 11:33:24 -08:00
Allen PorterandGitHub 6d867e0415 Bump nest to 0.4.5 to fix media player event expiration (#61174) 2021-12-07 11:30:23 -08:00
Aaron BachandGitHub 9af8d59a7a Bump py17track to 2021.12.2 (#61166) 2021-12-07 11:29:54 -08:00
Charles GarwoodandGitHub 00a82bf945 Remove loopenergy integration (#61175)
* Remove loopenergy integration

* Fix requirements_all.txt

* Fix requirements_test_all.txt
2021-12-07 19:47:44 +01:00
bsmappeeandGitHub 84dbc8279d Bump pysmappee to 0.2.29 (#61160) 2021-12-07 19:15:51 +01:00
Erik MontnemeryandGitHub 5256e26b6a Fix incorrect docstring in automation trace code (#61168) 2021-12-07 18:05:41 +01:00
Allen PorterandGitHub 200a5c7e05 Fix flaky tests with unsynchronized stream available assertions (#61167)
Remove assertions that are not guaratuneed to be safe depending
on the state of the background worker. This leaves in the state
check for the keepalive case which does have some synchronization
already.
2021-12-07 07:40:36 -08:00
Tim RightnourandGitHub 489d85d862 Add Onewire diagnostic and config switches and binary_sensors (#59309)
* Onewire: Add diagnostic and config switches and binary_sensors
This commit adds diagnostic and config switches and binary_sensors to
the HobbyBoards devices.  With these, the user will be able to configure
those devices, without having to run owwrite/owread commands outside
of HA.

* Address review from @epenet

* Add HB_HUB to DEVICE_SUPPORT_OWSERVER

* Device class and entity category enums

* Fixup merge breakage

* Remove duplicate lines
2021-12-07 13:59:43 +01:00
Tobias SauerweinandGitHub 45c463b61c Fix Netatmo climate issue (#61154)
Signed-off-by: cgtobi <cgtobi@gmail.com>
2021-12-07 13:56:31 +01:00
f0006b92be 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-07 13:16:24 +01:00
Alexander LeisentrittandGitHub 4eeee79517 Change ondilo_ico update interval to 5 minutes (#61153)
API has a rate limit of 30 queries per hours, 5 minutes uses 12 queries and leave a reasonable reserve but ensures timestamps of measurements in Home Assistant are about equal to real timestamps
2021-12-07 13:01:34 +01:00
Erik MontnemeryandGitHub af2e95d891 Guard against missing states in Alexa state updates (#61152) 2021-12-07 12:44:50 +01:00
Marcel van der VeldtandGitHub 4563d95d40 Replace deprecated DEVICE_CLASS constants with new enums in Hue integration (#61149) 2021-12-07 11:41:43 +01:00
Fredrik ErlandssonandGitHub c469bf2db9 Fix point availability (#61144) 2021-12-07 09:00:30 +01:00
Zac WestandGitHub 8ee2ca8a56 Deprecate ios push config (in favor of inline actions) (#61078) 2021-12-07 08:56:08 +01:00
Pierre StåhlandGitHub a87a6d3072 Add volume and tv metadata to Apple TV (#61107) 2021-12-06 21:36:13 -10:00
Erik MontnemeryandGitHub 5161126b58 Bump hatasmota to 0.3.1 (#61120) 2021-12-07 08:07:31 +01:00
Paulus SchoutsenandGitHub 009a28ba7a Block pytest_asyncio (#61141) 2021-12-06 22:07:56 -08:00
Paulus SchoutsenandGitHub e3ba533464 Disable lupusec (#61142) 2021-12-06 21:24:18 -08:00
Paulus SchoutsenandGitHub bbaec2c481 Bump cache version CI (#61137) 2021-12-06 18:02:40 -08:00