-
-
Notifications
You must be signed in to change notification settings - Fork 30
Custom Sentences
Donny F edited this page Mar 8, 2024
·
8 revisions
Custom sentences are used to control the View Assist device. For more information, see https://www.home-assistant.io/voice_control/custom_sentences/ These custom sentences can be added as a 'normal' automation using the Home Assistant web interface.
Here is an example custom sentence that changes the current view to the weather view:
alias: ASSIST - Weather example
description: ""
trigger:
- platform: conversation
command:
- How's the weather
id: weather
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- weather
sequence:
- set_conversation_response: >-
Its {{ state_attr('weather.home', 'temperature') }} degrees and
{{states.weather.home.state}}
- service: browser_mod.navigate
metadata: {}
data:
path: /dashboard-tablet/weather
target:
entity_id: sensor.tabletfullkiosk_browser_path
Note the service call for browser_mod.navigate This is the mechanism used to change the view of the target entity by sending the path of the particular view we want to show.
More custom sentences coming. Please be patient as the wiki gets populated