From f00a029910028b186d9ed8b3e2813aaadcee16c8 Mon Sep 17 00:00:00 2001 From: Sagi Bernstein Date: Mon, 10 Jan 2022 14:27:47 +0200 Subject: [PATCH] Support 4 channels switch (#63724) --- homeassistant/components/tuya/switch.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/tuya/switch.py b/homeassistant/components/tuya/switch.py index 15d35601379..6872b4506b3 100644 --- a/homeassistant/components/tuya/switch.py +++ b/homeassistant/components/tuya/switch.py @@ -421,6 +421,11 @@ SWITCHES: dict[str, tuple[SwitchEntityDescription, ...]] = { name="Switch 3", device_class=SwitchDeviceClass.OUTLET, ), + SwitchEntityDescription( + key=DPCode.SWITCH_4, + name="Switch 4", + device_class=SwitchDeviceClass.OUTLET, + ), SwitchEntityDescription( key=DPCode.CHILD_LOCK, name="Child Lock",