Commit Graph

42580 Commits (1768b19f71f097a68f4b2794fe4b87dfb538ac21)

Author SHA1 Message Date
puddly 1768b19f71
Bump ZHA dependency zigpy-znp from 0.6.3 to 0.6.4 (#61194) 2021-12-07 18:38:34 -05:00
Alberto Geniola 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
Marcel van der Veldt 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 Montnemery 4a814405c2
Minor deduplication of condition validation code (#61170) 2021-12-07 11:55:16 -08:00
einarhauks dced4d4542
Display energy in wh instead of kWh (#61169) 2021-12-07 11:33:24 -08:00
Allen Porter 6d867e0415
Bump nest to 0.4.5 to fix media player event expiration (#61174) 2021-12-07 11:30:23 -08:00
Aaron Bach 9af8d59a7a
Bump py17track to 2021.12.2 (#61166) 2021-12-07 11:29:54 -08:00
Charles Garwood 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
bsmappee 84dbc8279d
Bump pysmappee to 0.2.29 (#61160) 2021-12-07 19:15:51 +01:00
Erik Montnemery 5256e26b6a
Fix incorrect docstring in automation trace code (#61168) 2021-12-07 18:05:41 +01:00
Allen Porter 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 Rightnour 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 Sauerwein 45c463b61c
Fix Netatmo climate issue (#61154)
Signed-off-by: cgtobi <cgtobi@gmail.com>
2021-12-07 13:56:31 +01:00
Stefan Agner 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 Leisentritt 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 Montnemery af2e95d891
Guard against missing states in Alexa state updates (#61152) 2021-12-07 12:44:50 +01:00
Marcel van der Veldt 4563d95d40
Replace deprecated DEVICE_CLASS constants with new enums in Hue integration (#61149) 2021-12-07 11:41:43 +01:00
Fredrik Erlandsson c469bf2db9
Fix point availability (#61144) 2021-12-07 09:00:30 +01:00
Zac West 8ee2ca8a56
Deprecate ios push config (in favor of inline actions) (#61078) 2021-12-07 08:56:08 +01:00
Pierre Ståhl a87a6d3072
Add volume and tv metadata to Apple TV (#61107) 2021-12-06 21:36:13 -10:00
Erik Montnemery 5161126b58
Bump hatasmota to 0.3.1 (#61120) 2021-12-07 08:07:31 +01:00
Paulus Schoutsen 009a28ba7a
Block pytest_asyncio (#61141) 2021-12-06 22:07:56 -08:00
Paulus Schoutsen e3ba533464
Disable lupusec (#61142) 2021-12-06 21:24:18 -08:00
Paulus Schoutsen bbaec2c481
Bump cache version CI (#61137) 2021-12-06 18:02:40 -08:00
GitHub Action 5258c5fc9c [ci skip] Translation update 2021-12-07 00:51:52 +00:00
Paulus Schoutsen b45f48a35a
Bump frontend to 20211206.0 (#61133) 2021-12-06 15:51:03 -08:00
epenet b8b4855b8e
Prevent log flooding in frame helper (#61085)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-06 15:26:31 -08:00
Aaron Bach 4aa7f36a53
Deprecate `entity_id` parameter in Guardian service calls (#61129) 2021-12-06 15:23:03 -08:00
jjlawren da4349d133
Improve Sonos activity debug logging (#61122) 2021-12-06 15:21:28 -08:00
Aaron Bach 0adf86d647
Bump simplisafe-python to 2021.12.0 (#61121) 2021-12-06 15:20:59 -08:00
Marcel van der Veldt 9e6e9774d1
Remove colon from default entity name in Hue integration (#61118) 2021-12-06 15:17:17 -08:00
epenet 97d292133f
Revert "Add Open-Meteo integration (#60379)" (#61130)
This reverts commit d802f3a82f.
2021-12-06 23:35:14 +01:00
epenet d64bf3cc6c
Use dataclass properties in Zeroconf tests (#61109)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-06 09:16:39 -10:00
Paulus Schoutsen e712b80650
Return native timestamps for home connect (#61116) 2021-12-06 10:08:52 -08:00
Franck Nijhof d802f3a82f
Add Open-Meteo integration (#60379)
Co-authored-by: MatthewFlamm <39341281+MatthewFlamm@users.noreply.github.com>
2021-12-06 10:01:12 -08:00
epenet b6dc89b4b7
Add max/min/step to NumberEntityDescription (#61100)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-06 09:56:46 -08:00
Erik Montnemery e33384d8b9
Fix CO2 calculation when data is missing (#61106) 2021-12-06 09:55:28 -08:00
Paulus Schoutsen 10a423e01a
Bump aiohue to 3.0.2 (#61115) 2021-12-06 09:46:17 -08:00
micha91 f94085c83e
Add Yamaha MusicCast Select Entities (#60645)
* Add select entity for Yamaha MusicCast Capabilities

* Add musiccast select to .coveragerc

* Move status strings to string.select.json and auto generate the english translations from it. Let the device class start with yamaha_musiccast__.

* Make all device classes lower case

* Use platform enum to add select
2021-12-06 18:05:49 +01:00
G Johansson da5374614f
Improve code quality trafikverket_weatherstation (#61044)
* Code quality trafikverket_weatherstation

* Updates from review

* Fix extra attributes settings

* Fix for additional review comments
2021-12-06 18:01:46 +01:00
Jérôme W 400b7a22bd
Add media player volume control in `fr-FR` with Alexa (#60489)
* media player volume control in `fr-FR` with Alexa

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-12-06 17:49:47 +01:00
Marcel van der Veldt bd8bba9e3f
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 08:24:59 -08:00
Martin Hjelmare dddca8aaeb
Improve zwave_js add-on config flow description (#61099) 2021-12-06 14:46:53 +01:00
Pierre Ståhl 3a56cfed3a
Update Apple TV integration to support tvOS 15 (#58665) 2021-12-06 13:04:18 +01:00
Alexander Pitkin 1dfadd72cf
Fix yandex transport for Belarus (#61080) 2021-12-06 09:49:31 +01:00
Allen Porter bbe4a67a98
Coalesce nest media source preview clips by session and bump google-nest-sdm (#61081) 2021-12-05 23:59:24 -08:00
schreyack 1bcff0907b
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-05 23:56:59 -08:00
Aaron Bach 0ae6969aa4
Deprecate `system_id` parameter in SimpliSafe service calls (#61076) 2021-12-05 23:55:52 -08:00
J. Nick Koston 2f0695e408
Fix missing unique id in enphase_envoy (#61083) 2021-12-05 23:53:53 -08:00
J. Nick Koston 742623ee81
Provide a hint on which username to use for enphase_envoy (#61084) 2021-12-06 08:50:45 +01:00