diff --git a/homeassistant/components/hunterdouglas_powerview/sensor.py b/homeassistant/components/hunterdouglas_powerview/sensor.py index 14501a9c528..c789dd150da 100644 --- a/homeassistant/components/hunterdouglas_powerview/sensor.py +++ b/homeassistant/components/hunterdouglas_powerview/sensor.py @@ -2,7 +2,11 @@ from aiopvapi.resources.shade import factory as PvShade from homeassistant.components.sensor import SensorEntity -from homeassistant.const import DEVICE_CLASS_BATTERY, PERCENTAGE +from homeassistant.const import ( + DEVICE_CLASS_BATTERY, + ENTITY_CATEGORY_DIAGNOSTIC, + PERCENTAGE, +) from homeassistant.core import callback from .const import ( @@ -49,6 +53,8 @@ async def async_setup_entry(hass, entry, async_add_entities): class PowerViewShadeBatterySensor(ShadeEntity, SensorEntity): """Representation of an shade battery charge sensor.""" + _attr_entity_category = ENTITY_CATEGORY_DIAGNOSTIC + @property def native_unit_of_measurement(self): """Return the unit of measurement."""