Commit graph

38952 commits

Author SHA1 Message Date
Denis Milanović
35ccad7904
Ignore unsupported MeasureType-s from Withings (#55205) 2021-08-25 15:57:07 +02:00
Erik Montnemery
7f80781f9b
Prevent setting _attr_unit_of_measurement in subclasses of SensorEntity (#55211) 2021-08-25 15:44:35 +02:00
Erik Montnemery
856f4ad740
Fix Fjäråskupan RSSI sensor unit (#55210) 2021-08-25 15:39:49 +02:00
Otto Winter
e633cc177e
ESPHome sensor use total_increasing state class (#55208) 2021-08-25 15:33:26 +02:00
Maciej Bieniek
06604728c5
Remove should poll property from Xiaomi Miio fan platform (#55201) 2021-08-25 15:25:46 +02:00
Erik Montnemery
517fda1383
Fix last_reset in utility_meter (#55209) 2021-08-25 15:24:51 +02:00
Marc Mueller
1224d68d05
Remove redundant str cast - sensor value conversion (#55204) 2021-08-25 15:01:17 +02:00
jan iversen
d4064e7044
Cancel entity timers. (#55141) 2021-08-25 14:49:37 +02:00
Aaron Bach
2271f3b5f9
Clean up usage of EntityDescription in OpenUV (#55127)
* Clean up usage of EntityDescription in OpenUV

* Remove redundant typing

* Code review

* Update homeassistant/components/openuv/__init__.py

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

* Black

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-25 14:18:53 +02:00
Daniel Hjelseth Høyer
7dd169b48e
Utility meter, add STATE_CLASS_TOTAL_INCREASING (#54871)
* Utility meter, STATE_CLASS_TOTAL_INCREASING

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* update test

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* update test

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-08-25 14:03:30 +02:00
Jan Bouwhuis
f4fbc083e6
Tasmota - Cleanup tests involving legacy fan speed (#55202) 2021-08-25 13:54:36 +02:00
Marc Mueller
7f203069a4
Use EntityDescription - mhz19 (#55187)
* Use EntityDescription - mhz19

* Fix tests
2021-08-25 13:52:59 +02:00
jan iversen
504d23ac72
Activate mypy for switchbot (#55196)
* Please mypy.

* Update homeassistant/components/switchbot/switch.py

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-25 13:37:08 +02:00
Sean Vig
6b4e3bca6f
Add type annotations to amcrest integration (#54761)
Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
2021-08-25 13:24:29 +02:00
Erik Montnemery
bb42eb1176
Warn if a sensor with state_class_total has a decreasing value (#55197) 2021-08-25 13:01:55 +02:00
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