Add apcupsd laststest sensor (#80773)
parent
559e281431
commit
644b00ca2d
|
@ -172,6 +172,11 @@ SENSORS: dict[str, SensorEntityDescription] = {
|
||||||
native_unit_of_measurement=TEMP_CELSIUS,
|
native_unit_of_measurement=TEMP_CELSIUS,
|
||||||
device_class=SensorDeviceClass.TEMPERATURE,
|
device_class=SensorDeviceClass.TEMPERATURE,
|
||||||
),
|
),
|
||||||
|
"laststest": SensorEntityDescription(
|
||||||
|
key="laststest",
|
||||||
|
name="UPS Last Self Test",
|
||||||
|
icon="mdi:calendar-clock",
|
||||||
|
),
|
||||||
"lastxfer": SensorEntityDescription(
|
"lastxfer": SensorEntityDescription(
|
||||||
key="lastxfer",
|
key="lastxfer",
|
||||||
name="UPS Last Transfer",
|
name="UPS Last Transfer",
|
||||||
|
@ -331,8 +336,8 @@ SENSORS: dict[str, SensorEntityDescription] = {
|
||||||
),
|
),
|
||||||
"selftest": SensorEntityDescription(
|
"selftest": SensorEntityDescription(
|
||||||
key="selftest",
|
key="selftest",
|
||||||
name="UPS Last Self Test",
|
name="UPS Self Test result",
|
||||||
icon="mdi:calendar-clock",
|
icon="mdi:information-outline",
|
||||||
),
|
),
|
||||||
"sense": SensorEntityDescription(
|
"sense": SensorEntityDescription(
|
||||||
key="sense",
|
key="sense",
|
||||||
|
|
Loading…
Reference in New Issue