lovelace-battery-entity
lovelace-battery-entity copied to clipboard
Feature Request: Support for HACS
It would be nice to be able to install this lovelace extension through HACS...
More info here
@royto 404
The URL has changed. Here the right one : https://hacs.netlify.com/docs/publish/start
+1
+1
+1
100%
+1
yes, please
I just installed it via HACS and I'm getting this error:
Custom element doesn't exist: battery-entity.
type: 'custom:battery-entity'
entity: sensor.side_door_battery_level
This is how I defined the card:
entities:
- type: 'custom:battery-entity'
entity: sensor.side_door_battery_level
- type: 'custom:battery-entity'
entity: sensor.kids_battery_level
- type: 'custom:battery-entity'
entity: sensor.master_battery_level
show_header_toggle: false
title: batteries
type: entities
Try this header:
resources:
- type: module
url: /community_plugin/lovelace-battery-entity/battery-entity.js
And like this for the card:
type: vertical-stack
title: Battery Levels
cards:
- type: 'custom:battery-entity'
entity: sensor.back_yard_door_7_battery_level
- type: 'custom:battery-entity'
entity: sensor.basement_door_123_battery_level
Where do I put the header? I'm configuring via the UI... I don't have a yml config file for it...
Where do I put the header? I'm configuring via the UI... I don't have a yml config file for it...
When editing lovelace. click the three dots in the corner again and you should see "Raw configuration editor" which takes you to a "virtual" yaml, put it in here and click save.
Ah cool, that worked. But, shouldn't just installing the plugin do this for me automatically? I installed the airvisual plugin and it seems like it added the resource automatically...