@lawrencez wrote:
Is it possible to use an input number as a condition.
For example (but this does not pass validation!):
- id: Turn Heater on
alias: Turn Heater on
initial_state: True
trigger:
- platform: time
at: ‘04:30:00’
condition:- condition: numeric_state
entity_id: sensor.front_bedroom_temperature
below: input_number.heater_temp_set- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:- service: switch.turn_on
entity_id:
- switch.central_heating
Posts: 8
Participants: 3