Commit Graph

42617 Commits (b5f7e149854f85e074d55238e31edc053d98b2c2)

Author SHA1 Message Date
epenet b5f7e14985
Use new DeviceClass enums in ads (#61249)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 10:56:59 -08:00
Jan Bouwhuis 17a542689f
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 19:32:25 +01:00
jjlawren 9f3a4c3617
Improve Sonos tests, begin adding coverage (#61198)
* Update entity registry handling

* Add and use fixtures to test setup via config entry

* Remove legacy redundant tests

* Remove unnecessary mock_coro

* Remove unnecessary namespace change

* Move zeroconf payload to fixture

* Begin adding Sonos to codecov

* Mock proper return value

* Revert return value for platform
2021-12-08 19:28:27 +01:00
Dave T af91addc6c
Use SensorDeviceClass and SensorStateClass enums in Aurora ABB (#61245) 2021-12-08 18:01:52 +01:00
Erik Montnemery f30eb05870
Refactor recorder queue handling (#61161)
* Refactor recorder queue handling

* Address pylint's concerns

* Implement workaround for mypy bug

* Address review comments
2021-12-08 16:54:26 +01:00
Thomas Dietrich bbe6d3c9ae
Statistics refactor testcases in async pytest style (#60935)
* Implement optional manually defined uniqueid

* Fix test case via mocked environment

* Refactor testcases

* Fix missing awaits

* Revert order changes, reduce use of block command

* Tidy up mocked time testcases
2021-12-08 16:53:18 +01:00
Erik Montnemery 5169ee69c7
Attempt to fix flaky prometheus test (#61242) 2021-12-08 16:08:02 +01:00
epenet 9f15e7dcf4
Fix flaky tests around frame helper (#61179)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 10:50:56 +01:00
Daniel Hjelseth Høyer 9a46e802b7
Address late review of Adax (#61200)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-12-08 10:04:13 +01:00
J. Nick Koston d5aa4a9ce1
Updating naming for flux_led (#61187) 2021-12-08 09:30:22 +01:00
dependabot[bot] fad5314154
Bump actions/upload-artifact from 2.2.4 to 2.3.0 (#61215)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-08 09:06:06 +01:00
Paulus Schoutsen b7539fc0de
Fix islamic prayer times timestamp sensor (#61207) 2021-12-07 23:39:27 -08:00
Paulus Schoutsen 7b3a7ee2d1
Jewish Calendar: Do not convert datetimes to UTC (#61222) 2021-12-07 23:38:52 -08:00
Paulus Schoutsen c8fbf4c339
don't convert GTFS timestamp to UTC in timestamp sensor (#61221) 2021-12-08 08:26:45 +01:00
Paulus Schoutsen a81026ea90
Fix follow-up review comment for bbox (#61219) 2021-12-07 23:14:21 -08:00
Paulus Schoutsen 1ca8df9584
Fix hydrawise timestamp sensor (#61206) 2021-12-07 22:56:22 -08:00
Paulus Schoutsen 6b6b60b589
Fix hvv_departures timestamp sensor (#61205) 2021-12-07 22:56:07 -08:00
Paulus Schoutsen ef70dec7a4
Fix Rova using strings as timestamp (#61201) 2021-12-07 22:55:43 -08:00
Paulus Schoutsen e011073789
Fix gtfs timestamp sensor (#61204) 2021-12-07 22:49:43 -08:00
Paulus Schoutsen 113a850c69
Fix flipr timestamp sensor (#61203) 2021-12-07 22:48:04 -08:00
Paulus Schoutsen fa75c1f92f
Fix bbox timestamp (#61202) 2021-12-07 22:47:38 -08:00
Paulus Schoutsen 271b798dc9
Fix lyric timestamp sensor (#61209)
* Fix lyric timestamp sensor

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

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

* Change old state type
2021-12-07 22:35:13 -08:00
Paulus Schoutsen 0780bf142f
Fix meteo_france timestamp sensor (#61210) 2021-12-07 22:25:42 -08:00
Paulus Schoutsen ea42384afd
Fix nextbus timestamp sensor (#61212) 2021-12-07 22:23:14 -08:00
Paulus Schoutsen 6257b3e070
Fix oasa_telematics timestamp sensor (#61213) 2021-12-07 22:14:52 -08:00
Paulus Schoutsen 4819484cbb
Fix yandex_transport timestamp sensor (#61217) 2021-12-07 22:14:28 -08:00
Paulus Schoutsen 21f897bb5b
Fix repetier timestamp sensors (#61214) 2021-12-07 22:12:26 -08:00
epenet 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øyer 8cee47072d
Add local access for Adax (#60019) 2021-12-07 16:48:16 -10:00
J. Nick Koston df9154268e
Update MagicHome/flux_led OUIs for DHCP discovery (#61192) 2021-12-07 20:15:56 -06:00
J. Nick Koston 81dc84aef5
Fix log spam from flux_led 0x08 devices when in music mode (#61196) 2021-12-07 17:20:55 -08:00
J. Nick Koston 6b70bd7495
Fix uncaught exception in bond config flow (#61184) 2021-12-07 17:20:38 -08:00
Robert Blomqvist 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
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