From 23ef3bf9ac5badeb6a4535a33deb82c9156044fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Gyenge?= Date: Sun, 21 Aug 2022 19:31:34 +0200 Subject: [PATCH] Add UV switch to Pet Waterer in Tuya integration (#76718) Co-authored-by: Franck Nijhof --- homeassistant/components/tuya/switch.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/homeassistant/components/tuya/switch.py b/homeassistant/components/tuya/switch.py index 37834f0f273..3ec24f4daab 100644 --- a/homeassistant/components/tuya/switch.py +++ b/homeassistant/components/tuya/switch.py @@ -73,6 +73,12 @@ SWITCHES: dict[str, tuple[SwitchEntityDescription, ...]] = { icon="mdi:water-sync", entity_category=EntityCategory.CONFIG, ), + SwitchEntityDescription( + key=DPCode.UV, + name="UV Sterilization", + icon="mdi:lightbulb", + entity_category=EntityCategory.CONFIG, + ), ), # Light # https://developer.tuya.com/en/docs/iot/f?id=K9i5ql3v98hn3