hass-core/homeassistant/components/sensor/const.py
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

4 lines
94 B
Python

"""Constants for sensor."""
from typing import Final
CONF_STATE_CLASS: Final = "state_class"