never work with the editor, it makes for such unreadable automations… As said, it might not solve the issue, but it is redundant so take it out. 1 less line to cause issues.
even so, with multiple entity_id’s to switch, without extra data, there is no need for the data field, only a listing of entity_ids.
getting back to this action, it should be fired when clicking trigger, since there is no condition to be evaluated, and the trigger button does in fact do as the dev-service does with that switch.