From e82746da2445ae88e04c14c3ffeb9cda43aa53ae Mon Sep 17 00:00:00 2001 From: Teemu R Date: Sun, 9 Jun 2019 18:28:51 -0400 Subject: [PATCH] Fix temperature range for KL120, the device can only do up to 5000 k (#174) * Fix temperature range for KL120, the device can only do up to 5000 kelvin * use different temperature range for US and EU models of KL120 --- pyHS100/smartbulb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyHS100/smartbulb.py b/pyHS100/smartbulb.py index dcdc98d2..edf3828c 100644 --- a/pyHS100/smartbulb.py +++ b/pyHS100/smartbulb.py @@ -7,7 +7,8 @@ TPLINK_KELVIN = {'LB130': (2500, 9000), 'LB230': (2500, 9000), 'KB130': (2500, 9000), 'KL130': (2500, 9000), - 'KL120': (2700, 6500)} + 'KL120\(EU\)': (2700, 6500), + 'KL120\(US\)': (2700, 5000)} class SmartBulb(SmartDevice):