Add TRV (wkf
) support to Tuya (#65649)
This commit is contained in:
parent
320df10a26
commit
b7007b364a
5 changed files with 37 additions and 0 deletions
|
@ -194,6 +194,16 @@ BINARY_SENSORS: dict[str, tuple[TuyaBinarySensorEntityDescription, ...]] = {
|
|||
),
|
||||
TAMPER_BINARY_SENSOR,
|
||||
),
|
||||
# Thermostatic Radiator Valve
|
||||
# Not documented
|
||||
"wkf": (
|
||||
TuyaBinarySensorEntityDescription(
|
||||
key=DPCode.WINDOW_STATE,
|
||||
name="Window",
|
||||
device_class=BinarySensorDeviceClass.WINDOW,
|
||||
on_value="opened",
|
||||
),
|
||||
),
|
||||
# Temperature and Humidity Sensor
|
||||
# https://developer.tuya.com/en/docs/iot/categorywsdcg?id=Kaiuz3hinij34
|
||||
"wsdcg": (TAMPER_BINARY_SENSOR,),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue