Initial Commit

This commit is contained in:
Dan
2019-06-22 23:10:30 -04:00
commit 1c32ac4850
15 changed files with 721 additions and 0 deletions

30
intents.yaml Normal file
View 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