Fix HomeKit Controller device class for CO Sensors (#69949)
This commit is contained in:
parent
f6a3598070
commit
ad5d7a845b
2 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ async def test_carbon_monoxide_sensor_read_state(hass, utcnow):
|
|||
state = await helper.poll_and_get_state()
|
||||
assert state.state == "on"
|
||||
|
||||
assert state.attributes["device_class"] == BinarySensorDeviceClass.GAS
|
||||
assert state.attributes["device_class"] == BinarySensorDeviceClass.CO
|
||||
|
||||
|
||||
def create_occupancy_sensor_service(accessory):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue