I have setup the automation below for a dashboard running on FK. The idea is if you navigate away from the homescreen, after a certain period it switches back (10 seconds for testing!)
Trouble is the integration polls FK for the current page so if it triggers and you quickly move to another page, it might miss that you’ve moved away from home (ie it never gets polled). Can i make the automation look for the ‘current page to be NOT a value for 10s’ rather than ‘a value that is moved away from for 10s’
I have used the automation builder and can’t figure out how if its possible?
alias: Kitchen Tab go Home
description: Returns to home screen after 15 minutes
trigger:
- platform: state
entity_id:
- sensor.lenovo_tab_m11_current_page
for:
hours: 0
minutes: 0
seconds: 10
from: http://192.168.1.123:8123/kitchen-home/kitchen-home
attribute: full_url
condition: []
action:
- service: fully_kiosk.load_url
metadata: {}
data:
url: http://192.168.1.123:8123/kitchen-home/kitchen-home
target:
device_id: a573cfee65cb73a3673c63401ee1db9d
mode: single