-
-
Notifications
You must be signed in to change notification settings - Fork 30
Custom Sentences
Donny F edited this page Mar 7, 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/
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: http://192.168.0.25:8123/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 by sending the path to the particular view we want to show.