diff --git a/custom_components/aquarea/sensor.py b/custom_components/aquarea/sensor.py index 6a302dd..d5c14f5 100644 --- a/custom_components/aquarea/sensor.py +++ b/custom_components/aquarea/sensor.py @@ -423,6 +423,7 @@ def message_received(message): name=f"HeishaMon 1wire {device_id}", native_unit_of_measurement="°C", # we assume everything will be temperature device_class=SensorDeviceClass.TEMPERATURE, + state_class=SensorStateClass.MEASUREMENT, device=DeviceType.HEISHAMON, ) sensor = HeishaMonSensor(self.hass, description, self.config_entry)