lovelace-battery-entity
lovelace-battery-entity copied to clipboard
Add to custom updater - should be json
Thansk for developing this card.
I am getting this error when using custom updater:
"Common(get_repo_data) - Custom URL should be json, not .js - 'https://raw.githubusercontent.com/cbulock/lovelace-battery-entity/master/battery-entity.js'"
I've updated the instructions, please try again with this URL:
https://raw.githubusercontent.com/cbulock/lovelace-battery-entity/master/tracker.json
I have changed to: card_urls: - https://raw.githubusercontent.com/cbulock/lovelace-battery-entity/master/tracker.json
I am not getting any errors in the HA-log, but the "battery-entity" card does not show up in the "tracker-card"?
resources:
- type: module url: /local/custom-lovelace/battery-entity.js
Ok, I haven't used the custom updater myself. I'll spend some time later to get familiar with it and see what I'm doing wrong.
I am not an expert.
You can find all info here.
You should add this json file.
{
"battery-entity": {
"changelog": "https://github.com/cbulock/lovelace-battery-entity",
"remote_location": "https://raw.githubusercontent.com/cbulock/lovelace-battery-entity/master/battery-entity.js",
"version": "0.1.0",
"visit_repo": "https://github.com/cbulock/lovelace-battery-entity"
}
}
There is currently a tracker.json file in the repo, but it sounds like that's not operating as it should https://github.com/cbulock/lovelace-battery-entity/blob/master/tracker.json