mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix incorrect Ambient PWS lightning strike sensor state classes (#75520)
This commit is contained in:
parent
7ba3227d52
commit
a91ca46342
@ -281,14 +281,14 @@ SENSOR_DESCRIPTIONS = (
|
|||||||
name="Lightning strikes per day",
|
name="Lightning strikes per day",
|
||||||
icon="mdi:lightning-bolt",
|
icon="mdi:lightning-bolt",
|
||||||
native_unit_of_measurement="strikes",
|
native_unit_of_measurement="strikes",
|
||||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
state_class=SensorStateClass.TOTAL,
|
||||||
),
|
),
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key=TYPE_LIGHTNING_PER_HOUR,
|
key=TYPE_LIGHTNING_PER_HOUR,
|
||||||
name="Lightning strikes per hour",
|
name="Lightning strikes per hour",
|
||||||
icon="mdi:lightning-bolt",
|
icon="mdi:lightning-bolt",
|
||||||
native_unit_of_measurement="strikes",
|
native_unit_of_measurement="strikes",
|
||||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
state_class=SensorStateClass.TOTAL,
|
||||||
),
|
),
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key=TYPE_MAXDAILYGUST,
|
key=TYPE_MAXDAILYGUST,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user