Because I cannot run a script after executing a scene, I’m trying to trigger an automation by executing a scene.
Unfortunately I’m not able to do this. I tried many things and did recherce in the community, but unfortunately I found no solution.
Can anyone help?
This code snippet triggers the automation, but unfortunately the automation will be triggered also if I create a new scene (in the background probably the scene will be set to null after creation of a new one).
trigger: state
entity_id:
- scene.szene_fernsehen
to: null
Thanks!