mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Use CO Device Class Instead of Gas in zwave_js (#75649)
Use CO Device Class Instead of Gas Switches the carbon monoxide sensor from `Gas` to `CO`
This commit is contained in:
parent
5e10716dd8
commit
5c234a3504
@ -90,7 +90,7 @@ NOTIFICATION_SENSOR_MAPPINGS: tuple[NotificationZWaveJSEntityDescription, ...] =
|
||||
# NotificationType 2: Carbon Monoxide - State Id's 1 and 2
|
||||
key=NOTIFICATION_CARBON_MONOOXIDE,
|
||||
states=("1", "2"),
|
||||
device_class=BinarySensorDeviceClass.GAS,
|
||||
device_class=BinarySensorDeviceClass.CO,
|
||||
),
|
||||
NotificationZWaveJSEntityDescription(
|
||||
# NotificationType 2: Carbon Monoxide - All other State Id's
|
||||
|
Loading…
x
Reference in New Issue
Block a user