Fix Airly CO sensor unit (#78649)

This commit is contained in:
Kenneth J. Miller 2022-09-19 15:35:13 +02:00 committed by GitHub
parent 7bc2712142
commit 3b653de3fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View file

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