Button to Control a thing AND Navigate to a different dash

Trying to , kind of. replicate my ‘puppy chewed up’ Harmony remote here

I’m looking to have a landing page with all the harmony activities on, that when pressed takes you to a different dashboard with all the controls for THAT activity.

I’ve built the first page out, with buttons the fire the harmony activity, and I can build the landing pages out no problem. But i can’t find a way to have a button, fire the harmony activity and then navigate.

I can find Navigate on a button, but can add a second action. I’ve looked at scripts but they don’t seem to include Navigate, and an automation has the same issue. What am i missing here, is there another way to tackle this ?

example of my Harmony activity

type: custom:button-card
name: Watch TV
color_type: card
color: rgb(181, 177, 177)
styles:
  name:
    - font-size: 20px
    - padding: 15px 0px
    - color: white
    - height: 40px
show_name: true
show_icon: true
tap_action:
  action: call-service
  service: remote.turn_on
  service_data:
    activity: Harmony Watch TV
  target:
    entity_id: remote.harmony_hub
entity: remote.harmony_hub
icon: mdi:television
show_state: false

I just want to move onto a different page immediately after pressing that…

Browser mod adds the navigation ability to scripts and automations (and a lot more):

Ooooh…that looks like it will work, thanks for the pointer

One thing I dont understand is these mods that say add to ‘ui_lovelace.yaml’ . Ive never been able to find that file on my system ?

That’s only if you are configuring your dashboards in YAMl mode. If not you put it in Dashboards → Resources using the UI.

1 Like

thanks…only been here 2 weeks…still learning!