flixlix / power-flow-card-plus

A power distribution card inspired by the official Energy Distribution card for Home Assistant
591 stars 72 forks source link

Custome element doesn't exist in Chromium/Raspbian[BUG] #492

Open cybermerlo opened 8 months ago

cybermerlo commented 8 months ago

Describe the bug The card show up in mobile/windows, but it doesn't in Chromium/Raspbian (Custom element doesn't exist error)

Already tried to:

To Reproduce Steps to reproduce the behavior:

  1. Go to home assistant dashboard using a chromium/raspbian device
  2. See error

Expected behavior Card should whow up normally.

Screenshots 1 2

Browser Console Errors 3

Unexpexted token: ? power-flow-card-plus...stag=618081815020:1 Super(n??l),null!=n&&(this.cause=l),Object.assign(this,a),this.name=this.constructor.name,this.failures=()=>o??(o=[e,...t()])}}function Mt(e){return"object"==typeof e&&null!=e}function At(e){return"symbol"==typeof e?e.toString():"string"==typeo

Desktop (please complete the following information):

Additional context

Please make sure all of this applies and check the checkboxes, by writing "X" inside of them.

flixlix commented 6 months ago

power-flow-card-plus.js.zip can you check if this file works?