Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot cast SAK dashboard to Nest HUB #166

Open
turbatus opened this issue Sep 19, 2022 · 2 comments
Open

Cannot cast SAK dashboard to Nest HUB #166

turbatus opened this issue Sep 19, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@turbatus
Copy link

turbatus commented Sep 19, 2022

Bug report notice

Before you file a bug, make sure that you did not make a configuration mistake. The Swiss Army Knife in its current state does not yet have full configuration sanity checks!

So make sure your problem is not related to that!

  • [ x ] Yes, I'm sure that it is not a configuration mistake

Bug description

I created a very simple dashboard, with one SAK card, displaying one sensor. When casting this dashboard to my Nest Hub I get the error "r.setConfig is not a function" (see below). Other dashboards are casting just fine. Also, the SAK dashboard looks fine on my PC (browser Chrome).
sak_nest_hub_error

To Reproduce

Steps to reproduce the behavior:

  1. Go to Media (in HA)
  2. Select the cast device
  3. click on Dashboards
  4. select SAK dashboard

Expected behavior

The dashboard should appear on the cast device.

Desktop browser (please complete the following information):

  • OS: Windows 11
  • Browser chrome
  • Version 105

Dashboard I used for tests:
`views:

  • theme: Backend-selected
    title: SAK test
    path: sak-test
    panel: false
    badges: []
    cards:
    • type: vertical-stack
      cards:
      • type: horizontal-stack
        cards:
        • type: custom:swiss-army-knife-card
          aspectratio: 1/1
          entities:
          • entity: sensor.sb_pav_humidity
            name: Humidity
            layout:
            toolsets:
            • toolset: just-a-name
              position:
              cx: 50
              cy: 50
              tools:
              • type: circle
                position:
                cx: 50
                cy: 50
                radius: 45
                styles:
                circle:
                stroke-width: 2em
                stroke: red
                stroke-opacity: 0.5
                fill: bisque
                fill-opacity: 0.5
              • type: icon
                position:
                cx: 50
                cy: 30
                align: center
                icon_size: 25
                entity_index: 0
              • type: state
                position:
                cx: 40
                cy: 80
                entity_index: 0
                styles:
                state:
                font-size: 15em
              • type: name
                position:
                cx: 20
                cy: 60
                entity_index: 0
                styles:
                name:
                font-size: 15em
                font-weight: 900
                `
@turbatus turbatus added the bug Something isn't working label Sep 19, 2022
@github-actions
Copy link

Thank you for creating your first issue for the Swiss Army Knife custom card!

@AmoebeLabs
Copy link
Owner

Is this still an issue, or has it solved itself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants