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:
James
2022-07-23 07:24:34 -04:00
committed by GitHub
parent 5e10716dd8
commit 5c234a3504

View File

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