Skip to content

Commit

Permalink
Fix incorrect Ambient PWS lightning strike sensor state classes (#75520)
Browse files Browse the repository at this point in the history
  • Loading branch information
bachya authored and frenck committed Jul 20, 2022
1 parent 4ac7d68 commit e692d2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/ambient_station/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,14 +281,14 @@
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,
Expand Down

0 comments on commit e692d2e

Please sign in to comment.