From b09f6620ebbe752bb03a6d44fe4242cfb44cfe59 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 25 Oct 2021 00:42:15 -1000 Subject: [PATCH] Add entity category to nut battery (#58363) --- homeassistant/components/nut/const.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/nut/const.py b/homeassistant/components/nut/const.py index 74d9614c29b..59d5cd484af 100644 --- a/homeassistant/components/nut/const.py +++ b/homeassistant/components/nut/const.py @@ -231,6 +231,7 @@ SENSOR_TYPES: Final[dict[str, SensorEntityDescription]] = { native_unit_of_measurement=PERCENTAGE, device_class=DEVICE_CLASS_BATTERY, state_class=STATE_CLASS_MEASUREMENT, + entity_category=ENTITY_CATEGORY_DIAGNOSTIC, ), "battery.charge.low": SensorEntityDescription( key="battery.charge.low",