Commit Graph

38679 Commits

Author SHA1 Message Date
Erik Montnemery
ffbd2d79c8 Generate statistics for all sensors with a supported state_class (#54882)
* Generate statistics for all sensors

* Fix bugs, add tests

* Address review comments

* Cleanup warnings

* Simplify tests

* Simplify selection of statistics

* Fix tests
2021-08-25 13:00:35 +02:00
Børge Nordli
0d654fa6b3 Extract attribute names out of vol.Optional when validating entity service schema (#55157) 2021-08-25 13:00:11 +02:00
Marc Mueller
bd407f3ff4 Fix name - temper (#55189) 2021-08-25 12:59:31 +02:00
jan iversen
7df8d0c973 Check for duplicate host/port and integration name in modbus (#54664)
* Check for duplicate host/port and integration name.

* Change to use set().

* Please CI.

* Add basic tests.
2021-08-25 12:29:00 +02:00
Meow
a23f4dac62 Add service to clear completed shoppinglist items (#55032) 2021-08-25 12:26:37 +02:00
Erik Montnemery
3432efddaa Remember state of MQTT availability topics when reconfiguring (#55199) 2021-08-25 12:23:42 +02:00
Yuval Aboulafia
ebe48e78b7 Refactor Jewish Calendar to use EntityDescription (#54852) 2021-08-25 12:05:58 +02:00
Matthias Alphart
51361fbd2b Add configurable state_class to Modbus sensors (#54103)
* add configurable state_class

* Add test of new parameter.

Co-authored-by: jan Iversen <jancasacondor@gmail.com>
2021-08-25 11:50:54 +02:00
Paulus Schoutsen
186b8d4f4b Fix rainforest eagle incorrectly fetch conncted first try (#55193) 2021-08-25 11:43:08 +02:00
Marc Mueller
bf1112bc10 Remove temperature conversion - temper (#55188) 2021-08-25 11:19:28 +02:00
Klaas Schoute
49041b1469 Add account type to Forecast.Solar integration (#55175) 2021-08-25 11:16:23 +02:00
András Rutkai
db5e159b6d Updating IBM Watson SDK (#54914) 2021-08-25 10:55:46 +02:00
Aaron Bach
e99761fd7f Use EntityDescription - flunearyou (#55126) 2021-08-25 10:52:37 +02:00
Aaron Bach
c9e8d42405 Use EntityDescription - airvisual (#55125) 2021-08-25 10:51:02 +02:00
Aaron Bach
f92ba18a6b Use EntityDescription - notion (#55120) 2021-08-25 10:42:57 +02:00
Marc Mueller
4a03d8dc47 Use EntityDescription - bme280 (#55184) 2021-08-25 10:39:59 +02:00
Marc Mueller
5e44498f1c Use EntityDescription - bme680 (#55185) 2021-08-25 10:36:41 +02:00
Marc Mueller
839b9563ad Use EntityDescription - htu21d (#55186) 2021-08-25 10:35:15 +02:00
Aaron Bach
bf6d549910 Use EntityDescription - guardian (#55118) 2021-08-25 10:34:02 +02:00
jan iversen
e2b1122eec Activate mypy in gtfs (followup on reverted #54328) (#55195) 2021-08-25 10:30:29 +02:00
Marc Mueller
4036ba82fe Remove temperature conversion - mhz19 (#55164) 2021-08-25 10:29:59 +02:00
Marc Mueller
ed95bda781 Use EntityDescription - dht (#55183) 2021-08-25 10:28:43 +02:00
Luke Waite
ab6be2890a Add statistics for emoncms power and energy feeds (#55109) 2021-08-25 10:02:53 +02:00
dependabot[bot]
703c8f56f3 Bump codecov/codecov-action from 2.0.2 to 2.0.3 (#55194)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-25 09:46:28 +02:00
Paulus Schoutsen
1e05c81fe6 Fix recorder test (#55169)
Co-authored-by: Erik <erik@montnemery.com>
2021-08-25 08:48:13 +02:00
GitHub Action
b4238443c8 [ci skip] Translation update 2021-08-25 00:14:22 +00:00
Aaron Bach
b8d4e9806e Remove unreachable code in OpenUV (#55181) 2021-08-24 16:31:38 -05:00
Aaron Bach
24d017f974 Add ability to configure OpenUV "protection window" UV indices (#54562) 2021-08-24 15:37:50 -05:00
Alexei Chetroi
289734c748 Update ZHA config entry radio detection (#55128) 2021-08-24 15:25:31 -05:00
jjlawren
6cf312f3c8 Fix Sonos missing group member race condition on startup (#55158) 2021-08-24 14:13:18 -05:00
Richard Meyer
2932a3d6a7 Update version for smart-meter-texas to 0.4.7 (#54493)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-24 14:10:28 -05:00
Milan Meulemans
8570502681 Convert Nanoleaf yaml and discovery to config flow (#52199)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-24 14:09:36 -05:00
Milan Meulemans
9555a34691 Add missing baseclass for rituals perfume genie entities (#55166) 2021-08-24 14:08:48 -05:00
Marc Mueller
18f80c32d7 Remove temperature conversion - htu21d (#55165) 2021-08-24 20:00:16 +02:00
Marc Mueller
f3ab174cd3 Remove temperature conversion - bme680 (#55163) 2021-08-24 19:58:43 +02:00
Marc Mueller
cb556fe98e Remove temperature conversion - bme280 (#55162) 2021-08-24 19:57:43 +02:00
Marc Mueller
81a6bec818 Remove temperature conversion - dht (#55161) 2021-08-24 19:56:46 +02:00
Alexei Chetroi
2927dcd809 Use a debouncer when updating ZHA group state (#53263) 2021-08-24 10:09:36 -07:00
Joakim Sørensen
29f1fab7f7 Move to aiogithubapi any async for the GitHub integration (#55143) 2021-08-24 11:46:44 -05:00
Aaron David Schneider
39d5ae77a9 Address late review of Fritz switch (#54842) 2021-08-24 18:10:32 +02:00
Erik Montnemery
38f0020619 Improve Tasmota MQTT discovery flow (#55147) 2021-08-24 18:08:17 +02:00
Erik Montnemery
2c997586eb Deduplicate code in MQTT alarm_control_panel tests (#55149) 2021-08-24 18:06:39 +02:00
Niels Mündler
abfba1f455 Handle missing mac address in syncthru (#55154)
* Fix access errors to mac address

printer.raw() is the only attribute accessed and will always be present.
However depending on the printer, the mac address might be missing.

* Update homeassistant/components/syncthru/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/syncthru/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/syncthru/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-24 10:56:36 -05:00
J. Nick Koston
2e62de5116 Adjust yeelight homekit model match (#55159) 2021-08-24 17:51:25 +02:00
Erik Montnemery
fa9f91325c Allow small dip in total_increasing sensor without detecting a reset (#55153) 2021-08-24 17:23:55 +02:00
Erik Montnemery
8877f37da0 Fix statistics for sensors setting last_reset (#55136)
* Re-add state_class total to sensor

* Make energy cost sensor enforce state_class total_increasing

* Drop state_class total

* Only report energy sensor issues once
2021-08-24 17:02:34 +02:00
Maciej Bieniek
8d3ccad38e Convert number value to int in Xiaomi Miio (#55145) 2021-08-24 15:19:01 +02:00
Maciej Bieniek
ca245f8e93 Fix min value for Xiaomi Miio volume entity (#55139) 2021-08-24 14:40:14 +02:00
jan iversen
98a3ad6fd4 Revert "Please mypy in gtfs and implement needed changes (#54328)" (#55148) 2021-08-24 14:29:03 +02:00
jan iversen
de7352dbde Convert template/vacuum to pytest with fixtures (#54841) 2021-08-24 14:11:40 +02:00