mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Remove invalid device class in gios (#85611)
This commit is contained in:
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…
x
Reference in New Issue
Block a user