Fix power sensor state_class in Netatmo integration (#92468)

This commit is contained in:
Francesco Carnielli 2023-05-04 17:36:31 +02:00 committed by Paulus Schoutsen
parent affece8857
commit d96b37a004

View File

@ -266,7 +266,7 @@ SENSOR_TYPES: tuple[NetatmoSensorEntityDescription, ...] = (
netatmo_name="power",
entity_registry_enabled_default=True,
native_unit_of_measurement=UnitOfPower.WATT,
state_class=SensorStateClass.TOTAL,
state_class=SensorStateClass.MEASUREMENT,
device_class=SensorDeviceClass.POWER,
),
)