I’ve installed card-tools plugin and then card-mod plugin.
I’ve set in ui-lovelave.yaml
- url: /community_plugin/lovelace-card-tools/card-tools.js
type: module
- url: /community_plugin/lovelace-card-mod/card-mod.js
type: module
I then tried a simple example:
- type: entities
show_header_toggle: false
style: |
ha-card {
color: red;
}
entities:
- entity: sensor.myentity
But nothing happens. I debug on Chrome I get the following error:
0:1 Uncaught TypeError: Failed to resolve module specifier "card-tools/src/templates.js". Relative references must start with either "/", "./", or "../".
Anyone had the same problem, or knows how to solve it?
Thank
Marco