Automation question GPIOs

how can I automate GPIO … if I turn on GPIO AA it will turn off GPIO BB and GPIO CC

> - alias: No one is home
>   trigger:
>     platform: state
>     entity_id: switch.GPIO_AA
>     from: 'off'
>     to: 'on'
>     state: 'on'
>   action:
>     [I dont know what to put in here]

Under action try…

Service: homeassistant.turn_off
Entity_id: switch.gpio_bb

You can put then in a group if you want to turn them off at the same time and add the group name after entity id.

its not working…

now its working… i had to change “Service” to all underscore “service”