Hi,
I doubt this is a bug, it’s probably a “feature”
action:
- service: switch.turn_on
without any entities, shouldn’t turn on every switch in the system. Maybe default a switch.all or group.switch_all or something that can be used in case someone does want “all” switches to turn on, but without any entities this should produce an error or warning of some kind.