Open mreysei opened 1 month ago
Hi! Please could you do the same thing to use entities in properties "from" and "to" inside the severity option, and maybe also in the "target" property? That is the only thing I miss. Thank you in advance!
Hi @julll190, I'll give it a try.
whenever I try to use your card I get "custom element doesn't exist: bar-card", any ideas? I have added /hacsfiles/bar-card/bar-card.js as a js-module in resources (i guess this is added automatically when i add it through HACS) ... It does work if i replace the content in "/homeassistant/www/community/bar-card/bar-card.js" with what you have here: github.com/mreysei/bar-card/blob/master/dist/bar-card.js But when i try to use a sensor as max-value it doesnt show progress on the bar:
type: custom:bar-card
entities:
- entity: sensor.billader_session_energy
max: sensor.billader_estimert_levert_3_fase
min: 0
color: "#959d90"
positions:
icon: "off"
name: "off"
value: "off"
height: 10px
entity_row: true
and sensor.billader_estimert_levert_3_fase is a int-number ( 24 ) in this case ...
@HenrikHills probably it is because I created a new beta version that doesn't works haha I deleted it Try to change version to 1.3.0, now works?
@HenrikHills probably it is because I created a new beta version that doesn't works haha I deleted it Try to change version to 1.3.0, now works?
haha okay, yeah that worked perfectly, nice thanks!!
And this is the working example using an entity and a number
Result of such component
If this PR does not merge because this project is not maintained, you can add a "Custom repository" in HACS with my repository link: https://github.com/mreysei/bar-card