#Cycle Dashboard

1 messages · Page 1 of 1 (latest)

split night
#

Fairly new to HA, but have been programming for many years. I'm needing to create a display targeted for an Android tablet that just cycles continuously between three different screens every few seconds. Thought I had it with Browser_Mod. I can set up a script that theoretically does it. It runs a "for each" sequence where each item is a dashboard URL. Each iteration should display the next screen, delay a few seconds and then repeat that for every screen. But when the script is run, it seems to execute all iterations simultaneously.

Here's the script:

sequence:

  • repeat:
    for_each:
    - /dashboard-timeweather/0
    - /house-lights-2/default_view
    - /tablet-dashboard/0
    sequence:
    - action: browser_mod.navigate
    data:
    browser_id:
    - 9579ccaa39d133a0060a4f76becebaac
    path: "{{ repeat.item }}"
    - action: browser_mod.delay
    data:
    browser_id:
    - 9579ccaa39d133a0060a4f76becebaac
    time: 10000
    alias: display_dashboard
    description: ""