diff --git a/homeassistant/components/ambient_station/sensor.py b/homeassistant/components/ambient_station/sensor.py index eb01fd379b2..0fc6e7643db 100644 --- a/homeassistant/components/ambient_station/sensor.py +++ b/homeassistant/components/ambient_station/sensor.py @@ -128,7 +128,6 @@ SENSOR_DESCRIPTIONS = ( key=TYPE_AQI_PM25_24H, name="AQI PM2.5 24h avg", device_class=SensorDeviceClass.AQI, - state_class=SensorStateClass.TOTAL_INCREASING, ), SensorEntityDescription( key=TYPE_AQI_PM25_IN, @@ -140,7 +139,6 @@ SENSOR_DESCRIPTIONS = ( key=TYPE_AQI_PM25_IN_24H, name="AQI PM2.5 indoor 24h avg", device_class=SensorDeviceClass.AQI, - state_class=SensorStateClass.TOTAL_INCREASING, ), SensorEntityDescription( key=TYPE_BAROMABSIN, @@ -182,7 +180,7 @@ SENSOR_DESCRIPTIONS = ( name="Event rain", native_unit_of_measurement=UnitOfPrecipitationDepth.INCHES, device_class=SensorDeviceClass.PRECIPITATION, - state_class=SensorStateClass.MEASUREMENT, + state_class=SensorStateClass.TOTAL, ), SensorEntityDescription( key=TYPE_FEELSLIKE, @@ -287,7 +285,6 @@ SENSOR_DESCRIPTIONS = ( name="Last rain", icon="mdi:water", device_class=SensorDeviceClass.TIMESTAMP, - state_class=SensorStateClass.MEASUREMENT, ), SensorEntityDescription( key=TYPE_LIGHTNING_PER_DAY, @@ -315,7 +312,7 @@ SENSOR_DESCRIPTIONS = ( name="Monthly rain", native_unit_of_measurement=UnitOfPrecipitationDepth.INCHES, device_class=SensorDeviceClass.PRECIPITATION, - state_class=SensorStateClass.MEASUREMENT, + state_class=SensorStateClass.TOTAL, ), SensorEntityDescription( key=TYPE_PM25_24H, @@ -586,7 +583,7 @@ SENSOR_DESCRIPTIONS = ( name="Lifetime rain", native_unit_of_measurement=UnitOfPrecipitationDepth.INCHES, device_class=SensorDeviceClass.PRECIPITATION, - state_class=SensorStateClass.MEASUREMENT, + state_class=SensorStateClass.TOTAL_INCREASING, ), SensorEntityDescription( key=TYPE_UV, @@ -599,7 +596,7 @@ SENSOR_DESCRIPTIONS = ( name="Weekly rain", native_unit_of_measurement=UnitOfPrecipitationDepth.INCHES, device_class=SensorDeviceClass.PRECIPITATION, - state_class=SensorStateClass.MEASUREMENT, + state_class=SensorStateClass.TOTAL, ), SensorEntityDescription( key=TYPE_WINDDIR,