Hi,
I currently have an automation that sets heating to a specific level at certain times of the day, with the setpoint currently done within the automation itself by means of a simple “call service” command. What i want to do is add a number input boolean to the UI so the user can adjust the setpoint. This is my code:
alias: HC LR Afternoon Off
description: ''
trigger:
- platform: time
at: input_datetime.hc_lr_afternoon_off
condition:
- condition: and
conditions:
- condition: state
entity_id: input_boolean.hc_status
state: 'on'
- condition: and
conditions:
- condition: state
entity_id: input_boolean.hc_disable_afternoon
state: 'off'
- condition: and
conditions:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
action:
- service: climate.set_temperature
data:
temperature: 16
entity_id: climate.living_room
- service: climate.set_temperature
data:
temperature: 16
entity_id: climate.kitchen
mode: single
What i want to do set for example is set “climate.kitchen” to the value set into the “number” boolean, so that the user can choose the setpoint they prefer.
Thanks