I’m a new user of Hass.io so apologies if this is a numpty issue! I’ve recently setup Hass.io and configured automations, however automations triggered which use switch.turn_on switch all my configured switches on, and triggered which use switch.turn_off switch all my configured switches off regardless of whether there is an automation associated with them. Some of these switches aren’t even the same type - one is a relay and the others use rf, although they are all triggered via gpio.
I’m guessing it’s a syntax issue - my automation.yaml is below:
I’ve just tried updating the format so it’s similar to yours by removing the empy conditions and the data: element but still getting the same result - triggering any of the automations turns all switches on or off respective to the automation used.
UPDATE! I had the feeling something wasn’t quite right so took a snapshot, installed the latest Hass.io card image and the restored most elements of my config, just not the base Hass.io install and it’s now working fine