diff --git a/homeassistant/components/gogogate2/sensor.py b/homeassistant/components/gogogate2/sensor.py index 8788a69908e..6eb3d823c22 100644 --- a/homeassistant/components/gogogate2/sensor.py +++ b/homeassistant/components/gogogate2/sensor.py @@ -10,6 +10,7 @@ from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( DEVICE_CLASS_BATTERY, DEVICE_CLASS_TEMPERATURE, + ENTITY_CATEGORY_DIAGNOSTIC, TEMP_CELSIUS, ) from homeassistant.core import HomeAssistant @@ -51,6 +52,8 @@ async def async_setup_entry( class DoorSensorBattery(GoGoGate2Entity, SensorEntity): """Battery sensor entity for gogogate2 door sensor.""" + _attr_entity_category = ENTITY_CATEGORY_DIAGNOSTIC + def __init__( self, config_entry: ConfigEntry,