Hello all,
I’ve setup snips on a rpi2 using external mqtt.
i’ve created TurnOn and TurnOff intents.
I have 2 lights that i want to control.
I can control 1 light (light.kitchen_light) using this code on configuration.yaml
snips:
intent_script:
turnOff:
speech:
type: plain
text: 'OK, light is off'
action:
service: light.turn_off
data_template:
{"entity_id": "light.kitchen_light"}
turnOn:
speech:
type: plain
text: 'OK, light is on'
action:
service: light.turn_on
data_template:
{"entity_id": "light.kitchen_light"}
however, the other light is called light.Home_light.
how can i make HA know wich light i’m trying to turn on or off?
thanks in advance