Schedule/Planner
Schedule/Planner
Services you can call from Home Assistant to set a temporary target temperature for a thermostat.
Service: better_thermostat.set_temp_target_temperature
Service: better_thermostat.restore_saved_target_temperature
How can I set up a night mode schedule?
You can set up an automation that triggers a service call for every climate entity. As an example, you can use this blueprint:
blueprint: name: Better Thermostat Night mode description: > Set BT Thermostats to the Sleep preset when a Schedule event is active, and restore the None (normal) preset when the schedule ends. Requires the Sleep preset to be enabled in your Better Thermostat configuration. domain: automation source_url: https://github.com/KartoffelToby/better_thermostat/blob/master/blueprints/night_mode.yaml input: night_times_schedule: name: Schedule helper selector: entity: domain: schedule
thermostat_target: name: Thermostats selector: target: device: integration: better_thermostat entity: integration: better_thermostat domain: climate
mode: queuedmax_exceeded: silent
trigger: - platform: state entity_id: !input night_times_schedule from: "on" to: "off" - platform: state entity_id: !input night_times_schedule from: "off" to: "on"condition: []action: - if: - condition: state entity_id: !input night_times_schedule state: "on" then: - service: climate.set_preset_mode data: preset_mode: sleep target: !input thermostat_target else: - service: climate.set_preset_mode data: preset_mode: none target: !input thermostat_target