#Nerd Help: get Answer from VA
1 messages · Page 1 of 1 (latest)
alias: Fernseher steuern
description: ""
triggers:
- trigger: conversation
command:- Fernseher einschalten
- Fernseher ausschalten
conditions: []
actions:
- choose:
- conditions:
- condition: device
type: is_off
device_id: 1b16df271eca3e32c74b2d8f800217f5
entity_id: 2a518778ec7d39717dc0d4fa73a0edb1
domain: switch
sequence: - type: turn_on
device_id: 1b16df271eca3e32c74b2d8f800217f5
entity_id: 2a518778ec7d39717dc0d4fa73a0edb1
domain: switch - delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0 - action: remote.send_command
data:
device: TV
command: PowerToggle
target:
entity_id: remote.wohnzimmer
default:
- condition: device
- action: remote.send_command
data:
device: TV
command: PowerToggle
target:
entity_id: remote.wohnzimmer
mode: single
- conditions:
I would Like to get an Answer based in the trigger sentence
@karmic crag To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.
"Done" is a default answer unless something else is set,
you should add an action that uses "set conversation response"
this will allow you to set what you want it to respond with
it can be templated if needed