diff --git a/devices/viessmann.js b/devices/viessmann.js index af3f5084a7c94..2ee8ba31829ab 100644 --- a/devices/viessmann.js +++ b/devices/viessmann.js @@ -14,11 +14,13 @@ module.exports = [ fromZigbee: [fz.legacy.viessmann_thermostat_att_report, fz.battery, fz.legacy.hvac_user_interface], toZigbee: [tz.thermostat_local_temperature, tz.thermostat_occupied_heating_setpoint, tz.thermostat_control_sequence_of_operation, tz.thermostat_system_mode, tz.thermostat_keypad_lockout, tz.viessmann_window_open, tz.viessmann_window_open_force, - tz.viessmann_assembly_mode, + tz.viessmann_assembly_mode, tz.thermostat_weekly_schedule, tz.thermostat_clear_weekly_schedule, ], exposes: [ exposes.climate().withSetpoint('occupied_heating_setpoint', 7, 30, 1) - .withLocalTemperature().withSystemMode(['heat', 'sleep']), + .withLocalTemperature() + .withSystemMode(['heat', 'sleep']) + .withWeeklySchedule(['heat']), exposes.binary('window_open', ea.STATE_GET, true, false) .withDescription('Detected by sudden temperature drop or set manually.'), exposes.binary('window_open_force', ea.ALL, true, false)