Skip to content

Control Automations

Donny F edited this page Mar 8, 2024 · 2 revisions

Control automations are at the core of View Assist for noninteractive control of the display.

Control automation examples

Mode control

alias: ASSIST - Mode Control
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.tabletfullkiosk_browser_path
    id: ModeControl
condition: []
action:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - ModeControl
        sequence:
          - delay:
              seconds: "{{states.sensor.assistsat_viewlr.attributes.view_timeout}}"
          - if:
              - condition: state
                entity_id: sensor.assistsat_viewlr
                state: normal
                attribute: mode
            then:
              - service: browser_mod.navigate
                metadata: {}
                data:
                  path: /dashboard-tablet/clock
                target:
                  entity_id: sensor.tabletfullkiosk_browser_path
          - if:
              - condition: state
                entity_id: sensor.assistsat_viewlr
                state: music
                attribute: mode
            then:
              - service: browser_mod.navigate
                metadata: {}
                data:
                  path: /dashboard-tablet/music
                target:
                  entity_id: sensor.tabletfullkiosk_browser_path
mode: single

This automation handles a critical thing that the Alexa show devices were lacking for me and that's my desire to see the clock most of the time when I look over at the device. It is triggered any time the device changes views. A timer will start with the view_timeout currently set in the device configuration. Once complete, it then checks the current mode from the device configuration and will either send the command to show the clock view again or to show the music view if music is playing on the device.


More information coming. Please be patient as the wiki gets populated