Automation that navigates


I have a button on my mushroom dashboard.

type: custom:mushroom-template-card
primary: Tesla
secondary: ''
icon: mdi:ev-plug-tesla
icon_color: teal
layout: vertical
  action: navigate
  navigation_path: tesla
  action: call-service
  service: automation.trigger
  data: {}
    entity_id: automation.tesla_update

The Double tab triggers an automation that wakes up the cars and pulls data:

alias: Tesla update
description: ""
trigger: []
condition: []
  - device_id: 35d88655a1c928adb66a7f398f7e0166
    domain: button
    entity_id: button.escape_pod_1_wake_up
    type: press
  - device_id: 35d88655a1c928adb66a7f398f7e0166
    domain: button
    entity_id: button.escape_pod_1_force_data_update
    type: press
mode: single

What i would like to do is for the tap_action: to both navigate to the navigation_path: tesla and trigger the automation alias: Tesla update. Or that the automation also took care of the navigation part. Anyway the tab action could do both would be great.
I can’t figure out how to make the automation navigate or have the tab_action do two things.

Any ideas?

Maybe browser_mod might help you.

I don’t get the need for browser_mod here. What i want to do is already built in. It just has to do more than one thing. Or have the automation do it.


Currently, there is only one action you can assign to each event. Normally, if you want multiple actions, you can use scripts and execute script as an action. But script actions can not navigate you to some other page without browser_mod.

So, what you want to do, is not built in.