Because Repository is no longer maintained, custom-cards/bar-card has been removed from HACS. Please help me solve the problem.
Core 2025.6.1 Supervisor 2025.05.5 Operating System 15.2
Got message :
Because Repository is no longer maintained, custom-cards/bar-card has been removed from HACS. Please visit the HACS Panel to remove it.
Please help me solve the problem. This is a great interface ui card, I don't want to lose it.
Hello. I have the same thing!?!
Got the same message this morning
Same. I don't have the knowledge to get this back into shape but find it very useful.
Well, unless someone takes over the maintenance of the bar-card, this issue will not go away. Depending on your use case, https://github.com/francois-le-ko4la/lovelace-entity-progress-card might be an alternative.
Add a forked as custom that is updated, this one for example: https://github.com/spacerokk/bar-card
Add a forked as custom that is updated, this one for example: https://github.com/spacerokk/bar-card
What is the procedure to replace the no longer updated version with the forked one that is still maintained?
What is the procedure
Uninstall original bar card from HACS. Add custom repository to HACS (https://github.com/spacerokk/bar-card) Install forked bar card in HACS.
Or just ignore the warning because the original card still works where as the fork does not.
Switched to https://github.com/spacerokk/bar-card just now after uninstalling original and it seems to work just fine.
Two out of every three of my cards failed to display correctly. Probably because of a config options change but I have yet to work out what it is. Or bother working out what it is as the bar card still works.
@tomlut Oooh, any chance you could share your card code for the Energy and Power? Looks very nice 🤗
entities:
- entity: sensor.energy_tariff_in_use
- direction: right
entities:
- entity: sensor.self_solar
name: Power From Solar
- entity: sensor.export
name: Power To Grid
entity_row: true
height: 28px
max: 6000
min: 0
positions:
icon: inside
indicator: "off"
title: "off"
severity:
- color: "#039BE5"
from: -1
to: 300
- color: "#e0b400"
from: 300.1
to: 900
- color: "#0da035"
from: 900.1
to: 7000
type: custom:bar-card
value_style:
color: var(--primary-text-color)
text-shadow: none
card_mod:
class: inline-card-no-border
- direction: right
entities:
- entity: sensor.import
name: Power From Grid
entity_row: true
height: 28px
max: 6000
min: 0
positions:
icon: inside
indicator: "off"
title: "off"
severity:
- color: "#039BE5"
from: -1
to: 300
- color: "#0da035"
from: 300.1
to: 900
- color: "#e0b400"
from: 900.1
to: 1800
- color: "#e45e65"
from: 1800.1
to: 7000
type: custom:bar-card
value_style:
color: var(--primary-text-color)
text-shadow: none
card_mod:
class: inline-card-no-border
- direction: right
entities:
- entity: sensor.total_cost_today
- entity: sensor.total_cost_24hrs_ago
- entity: sensor.predicted_cost_today
entity_row: true
height: 28px
max: 10
min: -3
target: "0"
positions:
icon: inside
indicator: "off"
title: "off"
severity:
- color: "#039BE5"
from: -5
to: 1.49
- color: "#0da035"
from: 1.5
to: 2.99
- color: "#e0b400"
from: 3
to: 4.49
- color: "#e45e65"
from: 4.5
to: 10
type: custom:bar-card
value_style:
color: var(--primary-text-color)
text-shadow: none
card_mod:
class: inline-card-no-border
- direction: right
entities:
- entity: sensor.next_bill_estimate
entity_row: true
height: 28px
max: 250
min: -50
positions:
icon: inside
indicator: "off"
title: "off"
severity:
- color: "#039BE5"
from: -200
to: 49.99
- color: "#0da035"
from: 50
to: 99.99
- color: "#e0b400"
from: 100
to: 149.99
- color: "#e45e65"
from: 150
to: 1000
type: custom:bar-card
value_style:
color: var(--primary-text-color)
card_mod:
class: inline-card-no-border
show_header_toggle: false
title: Energy and Power
type: entities
state_color: true
card_mod:
class: top-level-card
I'm also a heavy user of that repository, I'm jumping in to show my interest to see that repository maintained if anyone has the skills to do so:
Add a forked as custom that is updated, this one for example: https://github.com/spacerokk/bar-card
I receive the following error :
Add a forked as custom that is updated, this one for example: https://github.com/spacerokk/bar-card
I receive the following error :
It should be spacerokk/bar-card without https://Github.com
I just migrated to https://github.com/spacerokk/bar-card
(@0000Max0000 use the type Dashboard instead of Integration)
All seems to be working (card code here):
I've just migrated to spacerokk/bar-card.
The only issues I had involved integers being written as strings in the config ("100" instead of 100). The previous version seemed to tolerate this, but the new one does not - and rightly so!
Once I looked through the yaml and found all instances and corrected them by removing the quotes, everything worked perfectly.
Add a forked as custom that is updated, this one for example: https://github.com/spacerokk/bar-card
I receive the following error :
It should be spacerokk/bar-card without https://Github.com
It's a 'Dashboard' not an 'Integration'
@xbmcnut Will this repo be kept up-to-date by spacerokk ?? https://github.com/spacerokk/bar-card
For now I simply clicked on ignore in my system but I would like to have a stable card for the future.
@xbmcnut Will this repo be kept up-to-date by spacerokk ?? https://github.com/spacerokk/bar-card
For now I simply clicked on ignore in my system but I would like to have a stable card for the future.
Not a single update for 5 year's 😄 don't think it will....
@CrallH, ok, I thought the spacerokk version was maintained. If anyone can lead with the required changes, that would be great
I thought the spacerokk version was maintained.
It is. The last update was three weeks ago. CrallH is incorrect.
I also migrated to the spacerokk fork but have an issue with the entity name on the card
before the 'name_attr' was actually evaluated
entities:
- entity: sensor.weatherflow_forecast_0
name_attr: time
- entity: sensor.weatherflow_forecast_1
name_attr: time
- entity: sensor.weatherflow_forecast_2
name_attr: time
- entity: sensor.weatherflow_forecast_3
name_attr: time
- entity: sensor.weatherflow_forecast_4
name_attr: time
- entity: sensor.weatherflow_forecast_5
name_attr: time
- entity: sensor.weatherflow_forecast_6
name_attr: time
- entity: sensor.weatherflow_forecast_7
name_attr: time
anyone know how to fix this?
Report it as an issue in the other repository. The dev isn't going to look here.
Unfortunately the way the repo was forked does not allow to create issues there. At least I couldn't find where to create issues on the forked repo
I thought the spacerokk version was maintained.
It is. The last update was three weeks ago. CrallH is incorrect.
Yes, a misunderstanding from my part, I thought he ment this repo 👍
Switched to https://github.com/spacerokk/bar-card just now after uninstalling original and it seems to work just fine.
+1 to this. Couple of bugs that I'm sure they'll sort in due time, but otherwise it's great to see the code being maintained!
Fixed my issue by using the custom:config-template-card
Posting here in case someone else faces a similar issue.
...
- type: custom:config-template-card
entities:
- sensor.weatherflow_forecast_0
- sensor.weatherflow_forecast_1
- sensor.weatherflow_forecast_2
- sensor.weatherflow_forecast_3
- sensor.weatherflow_forecast_4
- sensor.weatherflow_forecast_5
- sensor.weatherflow_forecast_6
- sensor.weatherflow_forecast_7
card:
type: custom:bar-card
....
entities:
- entity: sensor.weatherflow_forecast_0
name: >-
${states['sensor.weatherflow_forecast_0'].attributes.time}
- entity: sensor.weatherflow_forecast_1
name: >-
${states['sensor.weatherflow_forecast_1'].attributes.time}
- entity: sensor.weatherflow_forecast_2
name: >-
${states['sensor.weatherflow_forecast_2'].attributes.time}
- entity: sensor.weatherflow_forecast_3
name: >-
${states['sensor.weatherflow_forecast_3'].attributes.time}
- entity: sensor.weatherflow_forecast_4
name: >-
${states['sensor.weatherflow_forecast_4'].attributes.time}
- entity: sensor.weatherflow_forecast_5
name: >-
${states['sensor.weatherflow_forecast_5'].attributes.time}
- entity: sensor.weatherflow_forecast_6
name: >-
${states['sensor.weatherflow_forecast_6'].attributes.time}
- entity: sensor.weatherflow_forecast_7
name: >-
${states['sensor.weatherflow_forecast_7'].attributes.time}
Add a forked as custom that is updated, this one for example: https://github.com/spacerokk/bar-card
I receive the following error :
It should be spacerokk/bar-card without https://Github.com
Doesn't work as well.
Add a forked as custom that is updated, this one for example: https://github.com/spacerokk/bar-card
I receive the following error :
It should be spacerokk/bar-card without https://Github.com
Doesn't work as well.
You need to choose Dashboard instead of Integration in the Type field :)
Thanks @craigmcfly! 😁