Skip to content

Commit a6146fb

Browse files
Increase the number of irrigation zones up to 8 for Tuya enabled controllers. (#147793)
1 parent 6104731 commit a6146fb

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

homeassistant/components/tuya/switch.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,30 @@
440440
key=DPCode.SWITCH_2,
441441
translation_key="switch_2",
442442
),
443+
SwitchEntityDescription(
444+
key=DPCode.SWITCH_3,
445+
translation_key="switch_3",
446+
),
447+
SwitchEntityDescription(
448+
key=DPCode.SWITCH_4,
449+
translation_key="switch_4",
450+
),
451+
SwitchEntityDescription(
452+
key=DPCode.SWITCH_5,
453+
translation_key="switch_5",
454+
),
455+
SwitchEntityDescription(
456+
key=DPCode.SWITCH_6,
457+
translation_key="switch_6",
458+
),
459+
SwitchEntityDescription(
460+
key=DPCode.SWITCH_7,
461+
translation_key="switch_7",
462+
),
463+
SwitchEntityDescription(
464+
key=DPCode.SWITCH_8,
465+
translation_key="switch_8",
466+
),
443467
),
444468
# Siren Alarm
445469
# https://developer.tuya.com/en/docs/iot/categorysgbj?id=Kaiuz37tlpbnu

0 commit comments

Comments
 (0)