From a91ca46342789861e310ac04e189430cc373a748 Mon Sep 17 00:00:00 2001 From: Aaron Bach Date: Wed, 20 Jul 2022 11:29:23 -0600 Subject: [PATCH] Fix incorrect Ambient PWS lightning strike sensor state classes (#75520) --- homeassistant/components/ambient_station/sensor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/ambient_station/sensor.py b/homeassistant/components/ambient_station/sensor.py index 2944f33938d..4eae53b6a03 100644 --- a/homeassistant/components/ambient_station/sensor.py +++ b/homeassistant/components/ambient_station/sensor.py @@ -281,14 +281,14 @@ SENSOR_DESCRIPTIONS = ( name="Lightning strikes per day", icon="mdi:lightning-bolt", native_unit_of_measurement="strikes", - state_class=SensorStateClass.TOTAL_INCREASING, + state_class=SensorStateClass.TOTAL, ), SensorEntityDescription( key=TYPE_LIGHTNING_PER_HOUR, name="Lightning strikes per hour", icon="mdi:lightning-bolt", native_unit_of_measurement="strikes", - state_class=SensorStateClass.TOTAL_INCREASING, + state_class=SensorStateClass.TOTAL, ), SensorEntityDescription( key=TYPE_MAXDAILYGUST,