swiss-army-knife-card icon indicating copy to clipboard operation
swiss-army-knife-card copied to clipboard

Cannot cast SAK dashboard to Nest HUB

Open turbatus opened this issue 1 year ago • 2 comments

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 avatar Sep 19 '22 10:09 turbatus

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

github-actions[bot] avatar Sep 19 '22 10:09 github-actions[bot]