I am working on a script that will lit the light “light.sovrummet” if “input_select.torsten_status” is set to “not_sleep”.
Its hard to figure out how to use service_template, can someone help me out?
Use service_template like you would service. Looks like your entity_id is indented too far - it should be at the same level as service_template. It’s also possible that you’re introducing whitespace with your carriage returns. A minus (-) removes whitespace.