mirror of
https://github.com/home-assistant/core.git
synced 2025-04-26 02:07:54 +00:00
Change carbon monoxide device class to CO for deCONZ integration (#64185)
* Change carbon monoxide device class from gas to co * Add device class safety to alarm sensor
This commit is contained in:
parent
5b1acdf607
commit
02cc75997c
@ -49,9 +49,13 @@ ATTR_TILTANGLE = "tiltangle"
|
||||
ATTR_VIBRATIONSTRENGTH = "vibrationstrength"
|
||||
|
||||
ENTITY_DESCRIPTIONS = {
|
||||
Alarm: BinarySensorEntityDescription(
|
||||
key="alarm",
|
||||
device_class=BinarySensorDeviceClass.SAFETY,
|
||||
),
|
||||
CarbonMonoxide: BinarySensorEntityDescription(
|
||||
key="carbonmonoxide",
|
||||
device_class=BinarySensorDeviceClass.GAS,
|
||||
device_class=BinarySensorDeviceClass.CO,
|
||||
),
|
||||
Fire: BinarySensorEntityDescription(
|
||||
key="fire",
|
||||
|
Loading…
x
Reference in New Issue
Block a user