From c213461158f4c4a8fc022178df508756cd392b28 Mon Sep 17 00:00:00 2001 From: petretiandrea Date: Sat, 24 Feb 2024 13:53:09 +0100 Subject: [PATCH] feat: support tl135 and tl135e (#702) --- custom_components/tapo/const.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/custom_components/tapo/const.py b/custom_components/tapo/const.py index 360825f..2002cad 100755 --- a/custom_components/tapo/const.py +++ b/custom_components/tapo/const.py @@ -51,7 +51,20 @@ ColorMode.COLOR_TEMP, ColorMode.HS, }, + "tl135": { + ColorMode.ONOFF, + ColorMode.BRIGHTNESS, + ColorMode.COLOR_TEMP, + ColorMode.HS, + }, + "tl135e": { + ColorMode.ONOFF, + ColorMode.BRIGHTNESS, + ColorMode.COLOR_TEMP, + ColorMode.HS, + }, } + SUPPORTED_DEVICE_AS_LED_STRIP = ["l930", "l920", "l900"] SUPPORTED_LIGHT_EFFECTS = {