Erik Montnemery
91f6e58e9a
Allow customizing unit for temperature and pressure sensors ( #64366 )
...
* Allow customizing unit for temperature and pressure sensors
* pylint
* Adjust google_wifi tests
* Address review comments and add tests
* Improve rounding when scaling
* Tweak rounding
* Further tweak rounding
* Allow setting entity options with config/entity_registry/update
* Address review comments
* Tweak tests
* Load custom unit when sensor is added
* Override async_internal_added_to_hass
* Adjust tests after rebase
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Address review comments
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-30 15:43:04 +02:00
J. Nick Koston
c5c34bc0d7
Typing and code quality for recorder history ( #68647 )
2022-03-24 17:58:38 -07:00
Erik Montnemery
61cc8e32f3
Include has_mean + has_sum in statistics metadata WS response ( #68546 )
...
* Include has_mean + has_sum in statistics metadata WS response
* Don't include has_mean/has_sum in history/list_statistic_ids
* Adjust tests
* Do include has_mean/has_sum in history/list_statistic_ids
2022-03-24 10:12:01 +01:00
Pawel
bcb8c7ec3c
Add API endpoint get_statistics_metadata ( #68471 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-03-21 21:14:47 -07:00
GitHub Action
c64b4d997b
[ci skip] Translation update
2022-03-13 00:18:58 +00:00
GitHub Action
dc31f420ed
[ci skip] Translation update
2022-03-12 00:17:47 +00:00
GitHub Action
66d757115c
[ci skip] Translation update
2022-03-11 00:21:48 +00:00
GitHub Action
d0afc31063
[ci skip] Translation update
2022-03-10 00:17:10 +00:00
GitHub Action
2957f4ce85
[ci skip] Translation update
2022-03-07 00:18:40 +00:00
jan iversen
0d8ff3d724
Add codeowner to internal integrations that are without ( #67286 )
2022-02-28 09:06:16 +01:00
GitHub Action
6364e81be5
[ci skip] Translation update
2022-02-24 00:17:55 +00:00
GitHub Action
102ae9f0e3
[ci skip] Translation update
2022-02-22 00:17:23 +00:00
Marc Mueller
30e2411761
Add type ignore error codes [last ones] ( #66816 )
2022-02-18 18:15:57 +01:00
Marc Mueller
ac50248938
Add type ignore error codes [other] ( #66781 )
2022-02-17 23:10:25 -08:00
GitHub Action
ad0cb4831e
[ci skip] Translation update
2022-02-14 00:15:30 +00:00
GitHub Action
fb96c31a27
[ci skip] Translation update
2022-02-09 00:23:56 +00:00
Erik Montnemery
009b31941a
Support restoring SensorEntity native_value ( #66068 )
2022-02-08 14:00:26 -08:00
GitHub Action
2da4d280b2
[ci skip] Translation update
2022-02-06 00:17:31 +00:00
Franck Nijhof
e242796394
Remove deprecated format for date(time) sensors ( #65734 )
2022-02-04 23:42:29 -08:00
GitHub Action
ca7d4234e1
[ci skip] Translation update
2022-01-31 00:14:28 +00:00
GitHub Action
77ef86faee
[ci skip] Translation update
2022-01-30 00:14:21 +00:00
GitHub Action
dd4e5bb9c5
[ci skip] Translation update
2022-01-27 00:14:02 +00:00
GitHub Action
7d31f570e2
[ci skip] Translation update
2022-01-24 00:13:45 +00:00
GitHub Action
c6d481ca01
[ci skip] Translation update
2022-01-17 00:14:48 +00:00
GitHub Action
b949199866
[ci skip] Translation update
2022-01-15 00:14:21 +00:00
Erik Montnemery
13abac101b
Drop legacy support for sensor sum statistics ( #63884 )
2022-01-11 13:59:08 +01:00
Erik Montnemery
3083f059cc
Drop last_reset attribute for non 'total' sensors ( #63880 )
...
* Drop last_reset attribute for non 'total' sensors
* Adjust MQTT tests
* Add exception for utility_meter
* Rewrite exception for utility_meter
* Add comment in utility_meter
* Tweak comment
2022-01-11 13:58:35 +01:00
Marc Mueller
4d76ed9ceb
Fix implicit reexport [helpers.condition] ( #63830 )
2022-01-11 11:03:10 +01:00
GitHub Action
a8fee4c2f6
[ci skip] Translation update
2022-01-09 00:15:18 +00:00
GitHub Action
0827608302
[ci skip] Translation update
2022-01-08 00:14:39 +00:00
Marc Mueller
c384596899
Use SensorDeviceClass in `sensor` and `helpers` packages ( #63452 )
2022-01-05 14:59:51 +01:00
Marc Mueller
048d8f9263
Add strict typing to `core.py` (6) - Implicit reexport ( #63345 )
2022-01-04 19:51:19 +01:00
GitHub Action
021a4f7106
[ci skip] Translation update
2022-01-04 00:14:15 +00:00
Mike Degatano
50188e06ac
Add link into statistics unit mismatch warning ( #62217 )
2022-01-02 22:13:21 +01:00
GitHub Action
f205708e56
[ci skip] Translation update
2021-12-31 00:14:15 +00:00
GitHub Action
026ead2889
[ci skip] Translation update
2021-12-29 00:13:49 +00:00
GitHub Action
e00406c7b8
[ci skip] Translation update
2021-12-27 00:40:55 +00:00
GitHub Action
cc92aa557a
[ci skip] Translation update
2021-12-26 00:15:41 +00:00
GitHub Action
f07030c425
[ci skip] Translation update
2021-12-24 00:13:45 +00:00
Erik Montnemery
8e8e49d3e7
Add sensor device classes for apparent and reactive power ( #62010 )
2021-12-23 10:29:38 +01:00
epenet
cd452552af
Use relative imports in sensor ( #62638 )
2021-12-22 13:22:15 -10:00
Erik Montnemery
6151bbe5c8
Improve debug log when warning about a dip in total_increasing sensor ( #62501 )
2021-12-21 17:22:40 +01:00
Erik Montnemery
684c380ce2
Use SensorDeviceClass enum in sensor device automations ( #62480 )
2021-12-21 14:07:01 +01:00
Erik Montnemery
b1117c17f1
Tweak comment for ENERGY sensor device class ( #62006 )
2021-12-16 09:26:44 +01:00
Daniel Hjelseth Høyer
d9105b071a
Last reset is no longer deprecated ( #61816 )
2021-12-14 20:06:50 +01:00
Michael
90e52cd3ad
Use relative imports [S-Z] ( #61576 )
2021-12-13 09:39:13 +01:00
GitHub Action
f75b325ab2
[ci skip] Translation update
2021-12-12 00:14:30 +00:00
Erik Montnemery
dc5888ab4a
Correct recorder.statistics.get_last_statistics ( #61421 )
2021-12-10 10:09:29 -08:00
Erik Montnemery
aa36dde148
Correct rest sensor configured to generate timestamps ( #61429 )
2021-12-10 09:59:27 -08:00
Marvin Wichmann
707fe67c00
Move StrEnum to homeassistant.backports and move Platform to homeassistant.const ( #60880 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-03 09:31:17 +01:00