09-02-2023 05:29 AM
Hi, i have a problem
When I created a script in script editor and add starter "assistant.event.OkGoogle" it can trigger only 1.part of the script...
When I say "Increase fan speed" (it's in the 1. part in the script) it works but,
when I say "Increase fan speed two times" (it's in the 2. part in the script) it searches on the web. WHY?
metadata:
name: Fan speed controll
description: Adjust fan speed
automations:
#1.part (speed +1)
- starters:
- type: assistant.event.OkGoogle
eventData: query
is: Increase fan speed
- type: assistant.event.OkGoogle
eventData: query
is: change fan speed
actions:
- type: device.command.ActivateScene
activate: true
devices: Fan speed +
#2.part (speed +2)
- starters:
- type: assistant.event.OkGoogle
eventData: query
is: Increase fan speed two times
- type: assistant.event.OkGoogle
eventData: query
is: change fan speed two times
actions:
- type: device.command.ActivateScene
activate: true
devices: Fan speed +
- type: device.command.ActivateScene
activate: true
devices: Fan speed +
It does the same in every script with two parts.
09-02-2023 10:52 AM
Feels like someone ever mentioned that here, and the problem hasn't been fixed yet.