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

HACS Install not working correctly? #72

Open
MVerBerkmoes opened this issue Jul 21, 2023 · 14 comments
Open

HACS Install not working correctly? #72

MVerBerkmoes opened this issue Jul 21, 2023 · 14 comments

Comments

@MVerBerkmoes
Copy link

Installed card via Frontend. Card shows in the list of Frontend cards, but does not show up in the list when adding card to a view.

Copy and pasted an example into a manual card and receive 'No card type configured'

flex-horseshoe-card.js has been installed in config\www\community\flex-horseshoe-card.

Reboot of HA changes nothing.

@darknessblade
Copy link

Having the exact same issue.

tried a older version of horseshoe, but those do not work either

@jeffrey-zammit
Copy link

Same here

@waltergradauer
Copy link

I just found this repository, I would have liked to try it, but it has a bug that probably doesn't work on version 2023.7.3

Too bad, I'm waiting for the bug fix

@nordgoth
Copy link

nordgoth commented Aug 10, 2023

Installed card via Frontend. Card shows in the list of Frontend cards, but does not show up in the list when adding card to a view.

Copy and pasted an example into a manual card and receive 'No card type configured'

flex-horseshoe-card.js has been installed in config\www\community\flex-horseshoe-card.

Reboot of HA changes nothing.

it actually does work even with 2023.8.1 however indentation are incorrect in the given example, try the following:


type: custom:flex-horseshoe-card
entities:
  - entity: weather.weather
    attribute: temperature
    decimals: 1
    unit: °C
    area: De Maan
show:
  horseshoe_style: lineargradient
layout:
  states:
    - id: 0
      entity_index: 0
      xpos: 50
      ypos: 60
      styles:
        - font-size: 3.5em;
  areas:
    - id: 0
      entity_index: 0
      xpos: 50
      ypos: 35
      styles:
        - font-size: 1.5em;
        - opacity: 0.8;
horseshoe_scale:
  min: -10
  max: 40
color_stops:
  '10': red
  '18': blue

image

@darknessblade
Copy link

After messing with the new template, it is quite fun, and might be using it for certain things.

@nordgoth
Copy link

its a very nice card I must say.

just another example on how to use it with power meter on tree phases:


type: horizontal-stack
cards:
  - type: custom:flex-horseshoe-card
    entities:
      - entity: sensor.electricity_meter_power_active_phase_1
        attribute: power
        decimals: 1
        unit: W
      - entity: sensor.electricity_meter_voltage_phase_1
        attribute: voltage
        decimals: 1
        unit: V
        icon: mdi:sine-wave
      - entity: sensor.electricity_meter_current_phase_1
        attribute: current
        decimals: 2
        unit: A
        icon: mdi:current-ac
    show:
      horseshoe_style: colorstop
    layout:
      hlines:
        - id: 0
          xpos: 50
          ypos: 42
          length: 50
          styles:
            - stroke: var(--primary-text-color);
            - stroke-width: 2;
            - stroke-linecap: round;
            - opacity: 0.7;
      states:
        - id: 0
          entity_index: 0
          xpos: 50
          ypos: 34
          styles:
            - font-size: 2em;
        - id: 1
          entity_index: 1
          xpos: 45
          ypos: 57
          styles:
            - text-anchor: start;
            - font-size: 1.5em;
        - id: 2
          entity_index: 2
          xpos: 45
          ypos: 72
          styles:
            - text-anchor: start;
            - font-size: 1.5em;
      icons:
        - id: 0
          entity_index: 1
          xpos: 40
          ypos: 57
          align: end
          size: 1
        - id: 1
          entity_index: 2
          xpos: 40
          ypos: 72
          align: end
          size: 1
    horseshoe_scale:
      width: 3
      min: 0
      max: 1500
    color_stops:
      '0': green
      '50': yellow
      '400': orange
      '1000': red
  - type: custom:flex-horseshoe-card
    entities:
      - entity: sensor.electricity_meter_power_active_phase_2
        attribute: temperature
        decimals: 1
        unit: W
      - entity: sensor.electricity_meter_voltage_phase_2
        attribute: humidity
        decimals: 1
        unit: V
        icon: mdi:sine-wave
      - entity: sensor.electricity_meter_current_phase_2
        attribute: pressure
        decimals: 2
        unit: A
        icon: mdi:current-ac
    show:
      horseshoe_style: colorstop
    layout:
      hlines:
        - id: 0
          xpos: 50
          ypos: 42
          length: 50
          styles:
            - stroke: var(--primary-text-color);
            - stroke-width: 2;
            - stroke-linecap: round;
            - opacity: 0.7;
      states:
        - id: 0
          entity_index: 0
          xpos: 50
          ypos: 34
          styles:
            - font-size: 2em;
        - id: 1
          entity_index: 1
          xpos: 45
          ypos: 57
          styles:
            - text-anchor: start;
            - font-size: 1.5em;
        - id: 2
          entity_index: 2
          xpos: 45
          ypos: 72
          styles:
            - text-anchor: start;
            - font-size: 1.5em;
      icons:
        - id: 0
          entity_index: 1
          xpos: 40
          ypos: 57
          align: end
          size: 1
        - id: 1
          entity_index: 2
          xpos: 40
          ypos: 72
          align: end
          size: 1
    horseshoe_scale:
      width: 3
      min: 0
      max: 1500
    color_stops:
      '0': green
      '50': yellow
      '400': orange
      '1000': red
  - type: custom:flex-horseshoe-card
    entities:
      - entity: sensor.electricity_meter_power_active_phase_3
        attribute: temperature
        decimals: 1
        unit: W
      - entity: sensor.electricity_meter_voltage_phase_3
        attribute: humidity
        decimals: 1
        unit: V
        icon: mdi:sine-wave
      - entity: sensor.electricity_meter_current_phase_3
        attribute: pressure
        decimals: 2
        unit: A
        icon: mdi:current-ac
    show:
      horseshoe_style: colorstop
    layout:
      hlines:
        - id: 0
          xpos: 50
          ypos: 42
          length: 50
          styles:
            - stroke: var(--primary-text-color);
            - stroke-width: 2;
            - stroke-linecap: round;
            - opacity: 0.7;
      states:
        - id: 0
          entity_index: 0
          xpos: 50
          ypos: 34
          styles:
            - font-size: 2em;
        - id: 1
          entity_index: 1
          xpos: 45
          ypos: 57
          styles:
            - text-anchor: start;
            - font-size: 1.5em;
        - id: 2
          entity_index: 2
          xpos: 45
          ypos: 72
          styles:
            - text-anchor: start;
            - font-size: 1.5em;
      icons:
        - id: 0
          entity_index: 1
          xpos: 40
          ypos: 57
          align: end
          size: 1
        - id: 1
          entity_index: 2
          xpos: 40
          ypos: 72
          align: end
          size: 1
    horseshoe_scale:
      width: 3
      min: 0
      max: 1500
    color_stops:
      '0': green
      '50': yellow
      '400': orange
      '1000': red

image

@Dark-Noir
Copy link

Can't get it to work either, just installed it via HACS and rebooted the system.

@tinatiao
Copy link

tinatiao commented Sep 7, 2023

Installed card via Frontend. Card shows in the list of Frontend cards, but does not show up in the list when adding card to a view.
Copy and pasted an example into a manual card and receive 'No card type configured'
flex-horseshoe-card.js has been installed in config\www\community\flex-horseshoe-card.
Reboot of HA changes nothing.

it actually does work even with 2023.8.1 however indentation are incorrect in the given example, try the following:


type: custom:flex-horseshoe-card
entities:
  - entity: weather.weather
    attribute: temperature
    decimals: 1
    unit: °C
    area: De Maan
show:
  horseshoe_style: lineargradient
layout:
  states:
    - id: 0
      entity_index: 0
      xpos: 50
      ypos: 60
      styles:
        - font-size: 3.5em;
  areas:
    - id: 0
      entity_index: 0
      xpos: 50
      ypos: 35
      styles:
        - font-size: 1.5em;
        - opacity: 0.8;
horseshoe_scale:
  min: -10
  max: 40
color_stops:
  '10': red
  '18': blue
image

I have copied and pasted your code, but this error occurred: No visual editor available for type 'custom: flex horseshoe card'

@agnus777
Copy link

Same issue on
Home Assistant 2023.9.2
Supervisor 2023.09.2
Frontend 20230911.0 - latest
Any news from developer?

@darknessblade
Copy link

Same issue on Home Assistant 2023.9.2 Supervisor 2023.09.2 Frontend 20230911.0 - latest Any news from developer?

For me it works fine without issues after using the template. If you still have issues it could be more related to your HASS installation than horseshoe

@NXJim
Copy link

NXJim commented Nov 3, 2023

I just tried installing via HACS and couldn't find the card in the list to add to a dashboard. I found this thead, tried the manual YAML aproach but that didn't work either. This add on shoes in the HACS Frontend list but doesn't actually work.

Core 2023.11.0
Supervisor 2023.10.1
Operating System 11.1
Frontend 20231030.1

@chinezbrun
Copy link

same here: installation via HACS not working in HA 2023.10.5

@Zodiac-69
Copy link

Ditto, same here, installed via HACS and tried manual install, but card is not shown

@erniemuc
Copy link

Same here: installation via HACS not working in HA 2023.11.3
Interesting project. But not sure if I want to go with manual installation since the developer seams not to 've been around for 7 months.

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