diff --git a/hass/devices.js b/hass/devices.js index d48d508ae80..9c57564e89d 100644 --- a/hass/devices.js +++ b/hass/devices.js @@ -27,12 +27,12 @@ const THERMOSTAT_2GIG = { type: 'climate', object_id: 'thermostat', values: [ - '49-0-Air temperature', - '64-0-mode', - '66-0-state', - '67-0-setpoint-1', - '67-0-setpoint-2', - '68-0-mode' + '49-1-Air temperature', + '64-1-mode', + '66-1-state', + '67-1-setpoint-1', + '67-1-setpoint-2', + '68-1-mode' ], mode_map: { off: 0, @@ -44,22 +44,22 @@ const THERMOSTAT_2GIG = { on: 1 }, setpoint_topic: { - Heat: '67-0-setpoint-1', - Cool: '67-0-setpoint-2' + Heat: '67-1-setpoint-1', + Cool: '67-1-setpoint-2' }, - default_setpoint: '67-0-setpoint-1', + default_setpoint: '67-1-setpoint-1', discovery_payload: { min_temp: 50, max_temp: 85, modes: ['off', 'heat', 'cool'], fan_modes: ['auto', 'on'], - action_topic: '66-0-state', + action_topic: '66-1-state', action_template: '{{ value_json.value | lower }}', - current_temperature_topic: '49-0-Air temperature', + current_temperature_topic: '49-1-Air temperature', current_temperature_template: '{{ value_json.value }}', - fan_mode_state_topic: '68-0-mode', + fan_mode_state_topic: '68-1-mode', fan_mode_command_topic: true, - mode_state_topic: '64-0-mode', + mode_state_topic: '64-1-mode', mode_command_topic: true, temperature_state_template: '{{ value_json.value }}', temperature_command_topic: true