you could also create a Group with all windows you want to check and use that group as condition.
If one Window in that Group is on the Group state will be on, similar to an OR condition.
condition:
- condition: state
entity_id: group.all_windows
state: 'on'
A litte template for the notify message i am using would also tell you wich Window is open,
if you are set up a group.
states | selectattr('entity_id','in', state_attr('group.all_windows','entity_id'))
You only want to use the entities in the group so there’s no need to start the template by selecting every entity in your system with states and then narrowing it down to just the ones in the group. You only need to do this: