Initial Commit
This commit is contained in:
30
intents.yaml
Normal file
30
intents.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
LocateIntent:
|
||||
speech:
|
||||
text: >
|
||||
{% for state in states.device_tracker %}
|
||||
{% if state.name.lower() == User.lower() %}
|
||||
{{ state.name }} is at {{ states("device_tracker.dan_dansphone") }}
|
||||
{% else %}
|
||||
I am sorry. I don't know {{ User }}.
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
TestIntent:
|
||||
speech:
|
||||
text: This doesn't work
|
||||
|
||||
KitchenLight:
|
||||
action:
|
||||
service: light.toggle
|
||||
entity_id: light.sengled_e11g13_030b3efd_1
|
||||
speech:
|
||||
type: plain
|
||||
text: !include confirm.yaml
|
||||
|
||||
DeskLight:
|
||||
action:
|
||||
service: light.toggle
|
||||
entity_id: light.sengled_e11g13_030b40af_1
|
||||
speech:
|
||||
type: plain
|
||||
text: !include confirm.yaml
|
||||
Reference in New Issue
Block a user