Closed yuliwilliam closed 1 month ago
The _attr_state_class needs to be defined as the specified in the SENSOR_TYPES. This allows the SensorStateClass.MEASUREMEN sensors to collect statistics such as temperature, humidity, etc. The statistics can be used in statistic graph card.
SENSOR_TYPES
SensorStateClass.MEASUREMEN
The _attr_state_class needs to be defined as the specified in the
SENSOR_TYPES
. This allows theSensorStateClass.MEASUREMEN
sensors to collect statistics such as temperature, humidity, etc. The statistics can be used in statistic graph card.