Erik Montnemery
f327a247a0
Allow a temperature sensor to be in K ( #86073 )
2023-01-25 11:47:52 +01:00
Erik Montnemery
14a32cd63b
Allow converting units of additional sensor device classes ( #86072 )
2023-01-17 09:35:53 +01:00
Franck Nijhof
0a367359f4
Add sensor state class validation for device classes ( #84402 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-01-16 14:31:24 +01:00
Erik Montnemery
b0d4b73874
Add unitless unit converter ( #85694 )
...
* Add unitless unit converter
* Adjust type hints
* Adjust tests
* Rename to UnitlessRatioConverter
2023-01-12 09:20:00 +01:00
Erik Montnemery
54168c9bdb
Allow converting units of energy sensors ( #85497 )
2023-01-09 12:26:35 +01:00
Erik Montnemery
c1075ebb8c
Allow SensorDeviceClass.POWER_FACTOR unit None ( #85181 )
2023-01-05 11:03:37 +01:00
Erik Montnemery
8a0fb21988
Clarify SensorDeviceClass.PRECIPITATION docstring ( #85045 )
2023-01-03 11:30:03 +01:00
Franck Nijhof
6ecf2e8c71
Move sensor constants and define public names from this module ( #84973 )
2023-01-02 16:00:50 +01:00
Matthias Alphart
cd0ae66d58
Add CONF_STATE_CLASS to sensor/__init__.py
( #54106 )
...
* add CONF_STATE_CLASS to const.py
* move to `sensor/__init__.py`
* move to sensor/const.py
* Revert "move to sensor/const.py"
This reverts commit 604d0d066b
.
* move it to `sensor/const.py` but import it from `sensor/__init__.py`
* add Modbus
2021-08-27 05:54:50 +02:00