Remove invalid device class in gios (#85611)

pull/85651/head
epenet 2023-01-10 22:08:13 +01:00 committed by GitHub
parent caa8fc4d10
commit 6e3cf896f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -59,7 +59,6 @@ SENSOR_TYPES: tuple[GiosSensorEntityDescription, ...] = (
GiosSensorEntityDescription(
key=ATTR_AQI,
name="AQI",
device_class=SensorDeviceClass.AQI,
value=None,
),
GiosSensorEntityDescription(

View File

@ -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