{{ states.sensor.time.state }} = 16:11 (Current time)
{{ states.input_select.master_timer_select.state }} = 14:42 (last time I tested the automation to try find the problem!
Good pickup. I’ll add the ’ ’ to see if that helps.
Error loading /config/configuration.yaml: while parsing a block mapping
in "/config/automations.yaml", line 63, column 5
expected <block end>, but found '<scalar>'
in "/config/automations.yaml", line 64, column 33
Each climate.xxx is connected to the vent switch in that room. The climate.living is the actual heating device that switches the gas heating on and off. So once the climate.xxx room is triggered, they switch on teh gas heating then the climate.xxx controls the temp in the room by opening and closing the vent. That secondary part works perfect if I switch them on or off individually. And it I switch a room on, it starts the heater and works perfectly. So its just the timer that I am having problems with turning on the individual rooms.
This block starts at line 50.
- id: climate_on_automation
alias: Climate On Automation
trigger:
- platform: template
value_template: '{{ states.sensor.time.state == (states.input_datetime.heater_on_timer.attributes.timestamp
| int | timestamp_custom("%H:%M", False)) }}'
action:
- data:
entity_id: climate.living
service: climate.turn_on
- id: chloe_vent_automation
alias: Chloe Vent Automation
trigger:
- platform: template
value_template: '{{ states('sensor.time') == states('input_select.chloe_timer_select') }}'
condition:
- condition: state
entity_id: input_boolean.chloe_timer_input
state: 'on'
action:
- data:
entity_id: climate.chloe
service: climate.turn_on
- id: phoebe_vent_automation
alias: Phoebe Vent Automation
trigger:
- platform: template
value_template: '{{ states('sensor.time') == states('input_select.phoebe_timer_select') }}'
condition:
- condition: state
entity_id: input_boolean.phoebe_timer_input
state: 'on'
action:
- data:
entity_id: climate.phoebe
service: climate.turn_on
- id: lounge_vent_automation
alias: Lounge Vent Automation
trigger:
- platform: template
value_template: '{{ states('sensor.time') == states('input_select.lounge_timer_select') }}'
condition:
- condition: state
entity_id: input_boolean.lounge_timer_input
state: 'on'
action:
- data:
entity_id: climate.lounge
service: climate.turn_on
- id: master_vent_automation
alias: Master Vent Automation
trigger:
- platform: template
value_template: '{{ states('sensor.time') == states('input_select.master_timer_select') }}'
condition:
- condition: state
entity_id: input_boolean.master_timer_input
state: 'on'
action:
- data:
entity_id: climate.master
service: climate.turn_on
- id: '1566025395204'
alias: Heating Control On
trigger:
- entity_id: climate.chloe_s_room
from: 'off'
platform: state
to: heat
- entity_id: climate.phoebe_s_room
from: 'off'
platform: state
to: heat
- entity_id: climate.lounge
from: 'off'
platform: state
to: heat
- entity_id: climate.master_bedroom
from: 'off'
platform: state
to: heat
condition:
- condition: state
entity_id: climate.living
state: 'off'
action:
- data:
entity_id: climate.living
service: climate.turn_on
- id: '1566029706612'
alias: Auto Heating Control Off
trigger:
- entity_id: climate.chloe_s_room
platform: state
to: 'off'
- entity_id: climate.lounge
platform: state
to: 'off'
- entity_id: climate.master_bedroom
platform: state
to: 'off'
- entity_id: climate.phoebe_s_room
platform: state
to: 'off'
condition:
- condition: state
entity_id: climate.chloe_s_room
state: 'off'
- condition: state
entity_id: climate.phoebe_s_room
state: 'off'
- condition: state
entity_id: climate.master_bedroom
state: 'off'
- condition: state
entity_id: climate.lounge
state: 'off'
- condition: state
entity_id: group.family
state: not_home
action:
- data:
entity_id: climate.living
service: climate.turn_off
- id: '1566213145093'
alias: Heater Away Mode
trigger:
- entity_id: group.family
from: home
platform: state
to: not_home
condition:
- condition: state
entity_id: climate.living
state: heat
action:
- data:
entity_id: climate.living
preset_mode: away
service: climate.set_preset_mode