Support Leviton Omnistat2 thermostat (#3249)

* Support Leviton Omnistat2 thermostat

* Update homeassistant.js

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
This commit is contained in:
presslab-us
2020-03-31 18:53:51 +02:00
committed by GitHub
co-authored by Koen Kanters
parent d6fccbd83e
commit 92b6510175
+1
View File
@@ -1445,6 +1445,7 @@ const mapping = {
'4512706': [cfg.sensor_battery, cfg.sensor_action],
'GL-S-004ZS': [cfg.light_brightness_colortemp_colorxy],
'7121131PU': [cfg.light_brightness_colortemp_colorxy],
'RC-2000WH': [cfg.thermostat_heatcool(10, 30, 1, ['auto', 'on', 'smart'])],
};
Object.keys(mapping).forEach((key) => {