I have a WEMO light switch which controls my porch lights. I have created an automation however when it is triggered it turns both my porch WEMO as well as the WEMO i have in my kitchen. Below is the configuration I have in my automations.yaml file. Any help would be appreciated.
alias: "Porch Lights Off"
trigger:
platform: sun
event: sunrise
condition:
condition: state
entity_id: switch.porch_lights
state: "on"
action:
service: switch.turn_off