Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions custom_components/jev/interpret.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ def build_questions(
# No lock wording here on purpose. The agent does not control
# locks, and Home Assistant's on/off convention for them runs the
# opposite way round from speech. See CONTROLLABLE in snapshot.py.
"turn_on": "Switch something on, open it, or start it",
"turn_on": "Switch something on, open it, start it, "
"or run a script or scene",
"turn_off": "Switch something off, close it, or stop it",
"toggle": "Flip whatever state it is in now",
"set_brightness": "Change how bright a light is",
Expand Down Expand Up @@ -194,7 +195,9 @@ def build_questions(
),
"entity": Choice(
{
"question": "Which device should receive this?",
# Answered in the same request as action, so it must fit a
# status check too.
"question": "Which device is this about?",
"background": "Match on the name and on the room. Pick "
"none_of_these when no single device is meant.",
},
Expand Down
Loading