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
This commit is contained in:
Teemu R 2019-06-09 18:28:51 -04:00 committed by GitHub
parent a475233464
commit e82746da24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):