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
|
@ -63,7 +63,7 @@ class HomeKitSmokeSensor(HomeKitEntity, BinarySensorEntity):
|
|||
class HomeKitCarbonMonoxideSensor(HomeKitEntity, BinarySensorEntity):
|
||||
"""Representation of a Homekit BO sensor."""
|
||||
|
||||
_attr_device_class = BinarySensorDeviceClass.GAS
|
||||
_attr_device_class = BinarySensorDeviceClass.CO
|
||||
|
||||
def get_characteristic_types(self) -> list[str]:
|
||||
"""Define the homekit characteristics the entity is tracking."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue