diff --git a/homeassistant/components/gios/sensor.py b/homeassistant/components/gios/sensor.py index feb3f90a313..cabbb671aed 100644 --- a/homeassistant/components/gios/sensor.py +++ b/homeassistant/components/gios/sensor.py @@ -59,7 +59,6 @@ SENSOR_TYPES: tuple[GiosSensorEntityDescription, ...] = ( GiosSensorEntityDescription( key=ATTR_AQI, name="AQI", - device_class=SensorDeviceClass.AQI, value=None, ), GiosSensorEntityDescription( diff --git a/tests/components/gios/test_sensor.py b/tests/components/gios/test_sensor.py index f7475b1ef0f..9f88b247983 100644 --- a/tests/components/gios/test_sensor.py +++ b/tests/components/gios/test_sensor.py @@ -162,7 +162,6 @@ async def test_sensor(hass): assert state.state == "dobry" assert state.attributes.get(ATTR_ATTRIBUTION) == ATTRIBUTION assert state.attributes.get(ATTR_STATION) == "Test Name 1" - assert state.attributes.get(ATTR_DEVICE_CLASS) == SensorDeviceClass.AQI assert state.attributes.get(ATTR_STATE_CLASS) is None assert state.attributes.get(ATTR_UNIT_OF_MEASUREMENT) is None