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

Crash of the view containing the canvas_jauge-card #41

Closed
browetd opened this issue Jan 19, 2021 · 1 comment
Closed

Crash of the view containing the canvas_jauge-card #41

browetd opened this issue Jan 19, 2021 · 1 comment

Comments

@browetd
Copy link

browetd commented Jan 19, 2021

I am using the last version of "canvas-jauge-card", as well as home assistant on HassOS 5.10 (Pi 4 B 64 bits).
I noticed that on my Huawei tablet (MediaPad M5 Pro) running Android 9 (latest update as well), one view containing a "canvas-jauge-card" was crashing the navigator (I tried: chrome, firefox and opera) as well as the home assistant app. The crash was happening after a long time (more than 30 minutes) with the screen "Aw Snap, something went wrong". I removed the card from the view and the crash disappeared. It is maybe a problem in the definition of the card (see below) or incompatibility with Android 9...

Here is the code of the card (the card is loading correctly):

    - type: custom:canvas-gauge-card
      entity: sensor.smappee_display
      card_height: 230
      shadow_height: 15%
      font_size: 0.9em
      background_color: var(--card-background-color)
      gauge:
        animation: false
        borders: true
        borderShadowWidth: 0
        borderOuterWidth: 0
        borderMiddleWidth: 0
        borderInnerWidth: 0
        type: "radial-gauge"
        width: 220
        height: 220
        minValue: -6000
        maxValue: 14000
        startAngle: 120
        ticksAngle: 200
        valueBox: true
        units: "W"
        colorPlate: "lightgrey"
        majorTicks: ["-6000", " ", "-4000", " ", "-2000", " ", "0", " ", "2000", " ", "4000", " ", "6000", " ", "8000", " ", "10000", " ", "12000", " ", "14000"]
        minorTicks: 2
        strokeTicks: true
        highlights: [{"from": -6000, "to": 0,"color": "lime"}, {"from": 0, "to": 12000,"color": "orange"}, {"from": 12000, "to": 14000,"color": "red"}]
@helto4real
Copy link
Collaborator

Closing. Stale issue. Could have something to do with animations that should be fixed a few releases ago

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants