mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Correct entity category on UPS type in NUT (#60277)
This commit is contained in:
parent
9027ee7828
commit
dee4ce921d
@ -17,7 +17,6 @@ from homeassistant.const import (
|
|||||||
ELECTRIC_CURRENT_AMPERE,
|
ELECTRIC_CURRENT_AMPERE,
|
||||||
ELECTRIC_POTENTIAL_VOLT,
|
ELECTRIC_POTENTIAL_VOLT,
|
||||||
ENTITY_CATEGORY_DIAGNOSTIC,
|
ENTITY_CATEGORY_DIAGNOSTIC,
|
||||||
ENTITY_CATEGORY_SYSTEM,
|
|
||||||
FREQUENCY_HERTZ,
|
FREQUENCY_HERTZ,
|
||||||
PERCENTAGE,
|
PERCENTAGE,
|
||||||
POWER_VOLT_AMPERE,
|
POWER_VOLT_AMPERE,
|
||||||
@ -230,7 +229,7 @@ SENSOR_TYPES: Final[dict[str, SensorEntityDescription]] = {
|
|||||||
key="ups.type",
|
key="ups.type",
|
||||||
name="UPS Type",
|
name="UPS Type",
|
||||||
icon="mdi:information-outline",
|
icon="mdi:information-outline",
|
||||||
entity_category=ENTITY_CATEGORY_SYSTEM,
|
entity_category=ENTITY_CATEGORY_DIAGNOSTIC,
|
||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
),
|
),
|
||||||
"ups.watchdog.status": SensorEntityDescription(
|
"ups.watchdog.status": SensorEntityDescription(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user