Add thermostat Stelpro SMT402AD and new code for ST218 (#3341)

This commit is contained in:
TePazz 2020-04-12 04:09:31 -04:00 committed by GitHub
parent 0aedbe0db3
commit edab607f7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -964,7 +964,11 @@ const mapping = {
],
'316GLEDRF': [cfg.light_brightness],
'LVS-ZB500D': [cfg.light_brightness],
'ST218': [],
'ST218': [
cfg.thermostat(5, 30, 'occupied_heating_setpoint', 0.5),
cfg.sensor_local_temperature,
cfg.lock_keypad_lockout,
],
'E1525/E1745': [cfg.binary_sensor_occupancy, cfg.sensor_battery],
'ZYCT-202': [cfg.sensor_action],
'GR-ZB01-W': [cfg.cover_position],
@ -1363,6 +1367,11 @@ const mapping = {
cfg.sensor_local_temperature,
cfg.lock_keypad_lockout,
],
'SMT402AD': [
cfg.thermostat(5, 30, 'occupied_heating_setpoint', 0.5),
cfg.sensor_local_temperature,
cfg.lock_keypad_lockout,
],
'046677551780': [cfg.light_brightness],
'798.15': [cfg.light_brightness],
'12126': [cfg.switch],