mirror of
https://github.com/home-assistant/core.git
synced 2025-08-23 22:41:39 +02:00
Correct entity category on UPS type in NUT (#60277)
This commit is contained in:
@@ -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(
|
||||||
|
Reference in New Issue
Block a user