You can use scripts and automations to control the device. The steps below show a few examples of what you could do.
Using scripts and automations to control the device
Example 1
Play announcements on the device- You can create an automation or script to play an announcement on the device.
- Go to Settings > Automations & scripts and create a new automation.
- Define your trigger.
- Under Then do, select Add action and from the menu, select Assist satellite.
- Select Announce
- Enter the message you want to play and select the device you want to play it on.
- Save the automation.
- If you prefer editing in YAML, you can find an example with the
assist_satellite.announce action
below.action: assist_satellite.announce data: message: The laundry is done target: entity_id: assist_satellite.home_assistant_voice_012345
Example 2
Control the color of the LED ring- You can use
light.turn_on
andlight.turn_off
actions to control the light. You can turn it on or off when something happens and define color and effects.action: light.turn_on data: rgb_color: - 255 - 105 - 180 target: entity_id: light.home_assistant_voice_012345_led_ring action: light.turn_off target: entity_id: light.home_assistant_voice_012345_led_ring
Example 3
Change the selected assistant- To select a different assistant when something happens, use the
select.select_option
action. For example, when a button is pressed.action: select.select_option data: option: preferred target: entity_id: select.home_assistant_voice_012345_assist_pipeline
- Under Options, enter the name of the voice assistant. Make sure to spell it exactly as you named it. For example
Spanish
. - To learn how to set up an automation based on a button press, follow the steps on Automating on a button press.
- Info: Those instructions are based on a Matter device. The process is very similar for other devices featuring a button.
Example 4
Change the wake word- To select a different wake word when something happens, use the
select.select_option
action.action: select.select_option data: option: Okay Nabu target: entity_id: select.home_assistant_voice_012345_wake_word
- Under Options, enter the preferred wake word. The default options are
Hey Jarvis
,Hey Mycroft
, andOkay Nabu
. - Make sure to spell it exactly as you named it.