Fix Airly CO sensor unit (#78649)
This commit is contained in:
parent
7bc2712142
commit
3b653de3fd
2 changed files with 0 additions and 2 deletions
|
@ -108,7 +108,6 @@ async def test_sensor(hass, aioclient_mock):
|
|||
state.attributes.get(ATTR_UNIT_OF_MEASUREMENT)
|
||||
== CONCENTRATION_MICROGRAMS_PER_CUBIC_METER
|
||||
)
|
||||
assert state.attributes.get(ATTR_DEVICE_CLASS) == SensorDeviceClass.CO
|
||||
assert state.attributes.get(ATTR_STATE_CLASS) == SensorStateClass.MEASUREMENT
|
||||
|
||||
entry = registry.async_get("sensor.home_co")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue