Address late review in Overkiz (add duration device class) (#77778)

Address follow-up review in Overkiz (duration device class)
pull/77787/head
Mick Vleeshouwer 2022-09-04 12:01:17 +02:00 committed by GitHub
parent a4261d588b
commit 9a6b22a156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -354,14 +354,14 @@ SENSOR_DESCRIPTIONS: list[OverkizSensorDescription] = [
OverkizSensorDescription(
key=OverkizState.IO_HEAT_PUMP_OPERATING_TIME,
name="Heat Pump Operating Time",
icon="mdi:home-clock",
device_class=SensorDeviceClass.DURATION,
entity_category=EntityCategory.DIAGNOSTIC,
native_unit_of_measurement=TIME_SECONDS,
),
OverkizSensorDescription(
key=OverkizState.IO_ELECTRIC_BOOSTER_OPERATING_TIME,
name="Electric Booster Operating Time",
icon="mdi:home-clock",
device_class=SensorDeviceClass.DURATION,
native_unit_of_measurement=TIME_SECONDS,
entity_category=EntityCategory.DIAGNOSTIC,
),