From 612f93d636d235840c708cc8cf785f0558f73863 Mon Sep 17 00:00:00 2001 From: Rodrigo Matias Date: Mon, 16 Jan 2023 21:05:53 +0000 Subject: [PATCH] Add switch to Tuya product category wsdcg (#85762) --- homeassistant/components/tuya/switch.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/homeassistant/components/tuya/switch.py b/homeassistant/components/tuya/switch.py index 3cdd4283f05..9bab4822030 100644 --- a/homeassistant/components/tuya/switch.py +++ b/homeassistant/components/tuya/switch.py @@ -567,6 +567,15 @@ SWITCHES: dict[str, tuple[SwitchEntityDescription, ...]] = { entity_category=EntityCategory.CONFIG, ), ), + # SIREN: Siren (switch) with Temperature and humidity sensor + # https://developer.tuya.com/en/docs/iot/f?id=Kavck4sr3o5ek + "wsdcg": ( + SwitchEntityDescription( + key=DPCode.SWITCH, + name="Switch", + device_class=SwitchDeviceClass.OUTLET, + ), + ), # Ceiling Light # https://developer.tuya.com/en/docs/iot/ceiling-light?id=Kaiuz03xxfc4r "xdd": (