I am trying to get noticifations if any light is switched. ( i.e. on any state-change in the group ‘lights’)
Currently, I get notifications to work if I define a specific light , like entity : light.overloop …
However, I would like to use something like ‘light’ or ‘light.any’ so I can get a notification about any light being switched.
Solved it now by indeed creating a list of all lights like Treno suggests ( to keep the automations a bit organised; creating one per light will get a bit chaotic I think).
One follow-up question: Could I somehow then use the parameter as to what light was switched on in my message somehow?
Am I correct that I could not have set this up using the ‘automation’ under configuarations in the frontend, and that this can only be done in the automations.yaml itself? ( since there is no option for this under ‘automation’ under ‘settings’ ?
I was at first trying to use the templating-format in the datafield under automation without succes… ).