Hi,
I’d like to have a button with which I can change my heating profile for an hour (such that I don’t forget to set it back). I tried following this solution - the idea is to trigger the automation from a Lovelace button. However, I can’t save it, and the error message is not exactly helpful. It’s probably something stupid, but I don’t want to spend the day blindly trying things - can anybody help out? Automation code below…
Btw: Might this use case be a candidate for a blueprint?
Thanks in advance
Christian
alias: Wohnzimmerheizung für 1h auf Wärmer
description: ''
mode: single
trigger:
- platform: event
event_type: timer.finished
event_data:
entity_id: timer.wohnzimmer_heizung
id: timer_complete
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: timer_complete
sequence:
- service: homematicip_cloud.set_active_climate_profile
data:
climate_profile_index: 2
entity_id: climate.wohnzimmer
- conditions:
- condition: state
entity_id: timer.wohnzimmer_heizung
state: idle
sequence:
- service: homematicip_cloud.set_active_climate_profile
data:
climate_profile_index: 3
entity_id: climate.wohnzimmer
- service: timer.start
data:
duration: '01:00:00'
target:
entity_id: timer.wohnzimmer_heizung
- conditions:
- condition: state
entity_id: timer.wohnzimmer_heizung
state: active
sequence:
- service: homematicip_cloud.set_active_climate_profile
data:
climate_profile_index: 2
entity_id: climate.wohnzimmer
- service: timer.cancel
target:
entity_id: timer.wohnzimmer_heizung
default: []
mode: single