AmoebeLabs / flex-horseshoe-card

Flexible Horseshoe card for Home Assistant Lovelace UI. A card with a flexible layout, a horseshoe-like donut graph, multiple entities or attributes, graphics and animations!
289 stars 43 forks source link

HA 0.106.x compatible #14

Closed Lau-ie closed 4 years ago

Lau-ie commented 4 years ago

Added two lines of code to the main file: setConfig(config) { config = JSON.parse(JSON.stringify(config)); // This uses built-in functions, but may be slower than

Based on Thomas Loven's helpfull comment.

Confirmed working on my install

r-renato commented 4 years ago

Hi, for me this working fine even if it introduces a rendering issues when the plugin is used in sequence with other card type. Practically, while the other cards are rendered the flex-horseshoe-card not. To show all cards I must to refresh the page over and over again.

HFsi commented 4 years ago

Doesn't work on 0.106.6

noodlemctwoodle commented 4 years ago

Confirmed working on 106.6 with changes suggested by @Lau-ie.

HFsi commented 4 years ago

In which part of the code should I add those lines?

noodlemctwoodle commented 4 years ago

@HFsi

Steps to get working:

  1. Download flex-horseshoe-card.js from Lau-ei as they have already made the required changes
  2. Put flex-horseshoe-card.js in a a folder by itself and remove any other files such as *.js.gz

    image

  3. Reboot Home Assistant
  4. Use the updated docs that are on either Lau-ei GitHub fork or My GitHub fork
riddik14 commented 4 years ago

I have add this repo in hacs

https://github.com/Lau-ie/flex-horseshoe-card

I have reinstalled the plugin from hacs and it work now.

thank you Lau-ie

HFsi commented 4 years ago

Yep, it's working now!

pkpio commented 4 years ago

Wondering if this is going to be merged for release soon?

AmoebeLabs commented 4 years ago

Hi everyone!

I'm slowly recovering from almost a year of illness, so that's the reason I didn't respond for a long time. I'm still running hass 0.98, so I also have to update that part of my domotica installation.

I will test new version first, and then release a new version for HACS!

Lau-ie commented 4 years ago

Hi Amoebelabs!

Very glad to have you back too further develop this awesome card!

AmoebeLabs commented 4 years ago

Hi Amoebelabs!

Very glad to have you back too further develop this awesome card!

Thanx for your PR btw, it helped a lot of ppl while I was not able to do any work on this.

I have now deployed another hass container next to my old 0.98 container, and since I'm using MQTT for most of my sensors, I can rebuild the new hass next to the old hass.

A lot has changed I must say:

So, enough to do.

I will post on the forum once I tested and made a new release.