Also split out smoke alarm
This commit is contained in:
parent
6709f121d5
commit
97078dcc59
1 changed files with 7 additions and 1 deletions
|
@ -75,10 +75,16 @@ NOTIFICATION_SENSOR_MAPPINGS: tuple[NotificationZWaveJSEntityDescription, ...] =
|
|||
states=("1", "2"),
|
||||
device_class=BinarySensorDeviceClass.SMOKE,
|
||||
),
|
||||
NotificationZWaveJSEntityDescription(
|
||||
# NotificationType 1: Smoke Alarm - State Id's 4, 5, 7, 8
|
||||
key=NOTIFICATION_SMOKE_ALARM,
|
||||
states=("4", "5", "7", "8"),
|
||||
device_class=BinarySensorDeviceClass.PROBLEM,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
),
|
||||
NotificationZWaveJSEntityDescription(
|
||||
# NotificationType 1: Smoke Alarm - All other State Id's
|
||||
key=NOTIFICATION_SMOKE_ALARM,
|
||||
device_class=BinarySensorDeviceClass.PROBLEM,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
),
|
||||
NotificationZWaveJSEntityDescription(
|
||||
|
|
Loading…
Add table
Reference in a new issue