I’m getting the error:
Update Generator Input On Start: Error executing script. Invalid data for call_service at pos 2: extra keys not allowed @ data['option']
I have double checked my indentation and variable names. I’ve also searched around the forums, I’ve found the similar error posted but the solutions haven’t been applicable. I’m perplexed what I’m doing wrong here but my hunch is there’s something simple I’m not seeing. Anyone?
- alias: Update Generator Input On Start
trigger:
- platform: homeassistant
event: start
action:
- delay: 00:00:10
- service: automation.turn_on
data_template:
entity_id: input_select.generator_start_stop
option: >
{{ states('sensor.generator_start_stop') }}
id: 976e469b43224fb088f1d20c080be8da