First of all, I can explain the script, but I don’t use the tiles interface.
For the script, add something like this :
script_name: alias: 'Several RM codes' sequence: - service: switch.turn_on entity_id: switch.you_switch_name - delay: 00:00:05 # maybe not that much in your case, even not needed ? - service: switch.turn_on entity_id: switch.your_switch_name
Tiles are here, someday I’ll take time to try this as it’s nice to have this look on the frontend.