Remove invalid watts sensor from NUT (#141401)

This commit is contained in:
tdfountain 2025-03-25 12:04:07 -07:00 committed by GitHub
parent 746f49884c
commit 8b9939c344
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 9 deletions

View File

@ -989,13 +989,6 @@ SENSOR_TYPES: Final[dict[str, SensorEntityDescription]] = {
entity_category=EntityCategory.DIAGNOSTIC, entity_category=EntityCategory.DIAGNOSTIC,
entity_registry_enabled_default=False, entity_registry_enabled_default=False,
), ),
"watts": SensorEntityDescription(
key="watts",
translation_key="watts",
native_unit_of_measurement=UnitOfPower.WATT,
device_class=SensorDeviceClass.POWER,
state_class=SensorStateClass.MEASUREMENT,
),
} }

View File

@ -212,8 +212,7 @@
"ups_timer_shutdown": { "name": "Load shutdown timer" }, "ups_timer_shutdown": { "name": "Load shutdown timer" },
"ups_timer_start": { "name": "Load start timer" }, "ups_timer_start": { "name": "Load start timer" },
"ups_type": { "name": "UPS type" }, "ups_type": { "name": "UPS type" },
"ups_watchdog_status": { "name": "Watchdog status" }, "ups_watchdog_status": { "name": "Watchdog status" }
"watts": { "name": "Watts" }
}, },
"switch": { "switch": {
"outlet_number_load_poweronoff": { "name": "Power outlet {outlet_name}" } "outlet_number_load_poweronoff": { "name": "Power outlet {outlet_name}" }