#Fancy Roku cards from overview to new dashboard

1 messages · Page 1 of 1 (latest)

sterile wren
#

When I added my Roku TVs to a new dashboard they showed up with these ugly plain buttons (cards?)
I would like to add the slick fancy ones from the overview to the new dashboard. How can I do that?

late peak
sterile wren
#

Thanks @late peak ! Is it possible to put media control cards on any dashboard?

buoyant geode
#

You can just select it in the ui or via YAML
type: media-control

stark summit
#

If "new dashboard" is the automatic home one, you can't modify that.

sterile wren
#

The overview dashboard isn't modifiable? I was able to add the media control cards to my desired dashboard. Thank you all for the help!!

#

Is there any foolproof trick to getting around caching issues when testing/updating dashboards?

#

Like...whyyyyyyyy

late peak
sterile wren
#

Yeah it has stuff on it. what causes them to load empty?

sterile wren
#

it looks great on desktop. empty on my phone

late peak
#

Do you know how to look at the yaml for the cards?

sterile wren
#

yeah i think so

late peak
#

Pick a card and post the yaml for me please

sterile wren
#

`type: thermostat
entity: climate.home
features:

  • type: climate-fan-modes
    style: dropdown
  • type: climate-hvac-modes
    `
#

like that?

late peak
#

yup. Sadly that doesn't explain the problem like I hoped.

#

Are you logged in using the same user on both devices?

#

and are you seeing cards on ANY dashboards on the phone?

sterile wren
#

yes same user and yes other dashboards appear normal

#

now it appears to be working ok

#

there's no way there could be loading latency?

late peak
#

I wouldn't rule it out, but with the whole thing being local it seems unlikely.
Is your phone connecting locally over wifi?

#

Can you post your raw dashboard yaml please. I'll step you through how if you need me to.

sterile wren
#

All local yes.

#
  - type: sections
    visible: []
    sections:
      - type: grid
        cards:
          - type: light
            entity: light.front_room
          - type: light
            entity: light.living_room
      - type: grid
        cards:
          - type: thermostat
            entity: climate.home
            features:
              - type: climate-fan-modes
                style: dropdown
              - type: climate-hvac-modes
        column_span: 1
      - type: grid
        cards:
          - show_current: true
            show_forecast: true
            type: weather-forecast
            entity: weather.home
            forecast_type: daily
        column_span: 1
    header:
      layout: center
      badges_position: bottom
      badges_wrap: wrap
    max_columns: 2
    show_icon_and_title: false
    title: Lights and HVAC
    cards: []
#

Is that it?

late peak
#

(for future reference, if you put three ` before and after the code it formats as one block and is easier to read)

#

I just copied your yaml into a new dashboard and I get exactly the same result that you do.

#

Blank on mobile.

sterile wren
#

it's working now for some reason

#

I really cannot nail down when it works vs doesn't and why

#

I'm not changing anything in the yaml. I try reloading yamls and restarting HA altogether

late peak
#

going to try something, standby

sterile wren
#

As a data point, right now it works on my phone but not my wife's phone

late peak
#
  - type: sections
    sections:
      - type: grid
        cards:
          - type: light
            entity: light.front_room
          - type: light
            entity: light.living_room
          - show_current: true
            show_forecast: true
            type: weather-forecast
            entity: weather.home
            forecast_type: daily
      - type: grid
        cards:
          - type: thermostat
            entity: climate.home
            features:
              - type: climate-fan-modes
                style: dropdown
              - type: climate-hvac-modes
    max_columns: 2
    cards: []
#

I built the same-ish thing. try pasting that over yours.

#

they are your entity names so it should just work.

sterile wren
#

Replace all my yaml with yours?

#

Or should I create a new dashboard to test

late peak
#

might be safer to do it on a test page

#

Side note: Not that it is a problem, but I notice you are using multiple dashboards for your different device types. Unless you have a specific reason not to, I suggest putting multiple views (tabs across the top) rather than separate dashboards.

sterile wren
#

ok that appears to work. i've added it as a new test dashboard.

#

what's the diff btwn using multiple dashboards vs views

#

im gonna leave both dashboards up, yours and mine, to see if anything changes. could it be that if im editing the dashboard in desktop it won't load on mobile?

#

it looks like i may have left the dashboard in edit mode on desktop for a while

late peak
# sterile wren what's the diff btwn using multiple dashboards vs views

I think of it this way:
cards = a piece of paper
sections = a folder
views = a drawer
dashboards = a filing cabinet.
It is like you are getting a whole new filing cabinet to store your lights away from your tv remotes when they could be in separate drawers.

The biggest real world problem comes when you have lots and lots of items in your house and you have to scroll for miles to find the right dashboard.

late peak
sterile wren
#

What'd you change in the yaml for that test dashboard? The original has stopped working but yours hasn't...yet

late peak
#

I recreated it from scratch using my entities, then renamed them to your entity names.

sterile wren
#

Wth

#

Still kinda mysterious issue, no?

#

I can close this if need be. I'm fairly confident it'll work. But my brain hates not knowing whyyyy

late peak
#

there are far too many of those things. lol

sterile wren
#

thanks for the help @late peak

sterile wren
late peak
#

I guess you could backup and reinstall. I don't think /lovelace/ is an actual page in itself.