Add Formaldehyde Detector (jqbj) device support to Tuya (#58118)
This commit is contained in:
parent
487fa0a905
commit
c204196a7a
3 changed files with 60 additions and 2 deletions
|
@ -70,6 +70,16 @@ BINARY_SENSORS: dict[str, tuple[TuyaBinarySensorEntityDescription, ...]] = {
|
|||
on_value="presence",
|
||||
),
|
||||
),
|
||||
# Formaldehyde Detector
|
||||
# Note: Not documented
|
||||
"jqbj": (
|
||||
TuyaBinarySensorEntityDescription(
|
||||
key=DPCode.CH2O_STATE,
|
||||
device_class=DEVICE_CLASS_SAFETY,
|
||||
on_value="alarm",
|
||||
),
|
||||
TAMPER_BINARY_SENSOR,
|
||||
),
|
||||
# Door Window Sensor
|
||||
# https://developer.tuya.com/en/docs/iot/s?id=K9gf48hm02l8m
|
||||
"mcs": (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue