Remove invalid device class in gios (#85611)
parent
caa8fc4d10
commit
6e3cf896f7
|
@ -59,7 +59,6 @@ SENSOR_TYPES: tuple[GiosSensorEntityDescription, ...] = (
|
|||
GiosSensorEntityDescription(
|
||||
key=ATTR_AQI,
|
||||
name="AQI",
|
||||
device_class=SensorDeviceClass.AQI,
|
||||
value=None,
|
||||
),
|
||||
GiosSensorEntityDescription(
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue