Skip to content

Commit

Permalink
Add missing tuyaThermostatPreset for TuYa thermostats. Koenkk/zigbee2…
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Sep 21, 2020
1 parent 55bd00e commit 7d36c16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -1674,7 +1674,7 @@ const devices = [
description: 'HVAC controller',
supports: 'temperature, heating/cooling system control, fan mode',
fromZigbee: [fz.tuya_thermostat, fz.tuya_thermostat_on_set_data, fz.ignore_basic_report, fz.tuya_dimmer],
meta: {tuyaThermostatSystemMode: common.TuyaThermostatSystemModes2},
meta: {tuyaThermostatSystemMode: common.TuyaThermostatSystemModes2, tuyaThermostatPreset: common.TuyaThermostatPresets},
toZigbee: [
tz.tuya_thermostat_current_heating_setpoint, tz.tuya_thermostat_system_mode,
tz.tuya_thermostat_fan_mode, tz.tuya_dimmer_state,
Expand Down Expand Up @@ -12633,7 +12633,7 @@ const devices = [
fz.tuya_thermostat_on_set_data,
fz.ignore_basic_report,
],
meta: {tuyaThermostatSystemMode: common.TuyaThermostatSystemModes},
meta: {tuyaThermostatSystemMode: common.TuyaThermostatSystemModes, tuyaThermostatPreset: common.TuyaThermostatPresets},
toZigbee: [
tz.tuya_thermostat_child_lock,
tz.tuya_thermostat_window_detection,
Expand Down

0 comments on commit 7d36c16

Please sign in to comment.