Fix incorrect Ambient PWS lightning strike sensor state classes (#75520)

pull/75523/head
Aaron Bach 2022-07-20 11:29:23 -06:00 committed by GitHub
parent 7ba3227d52
commit a91ca46342
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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,