I ge this message and do not understand why.
Custom element doesn’t exist: apexcharts card
type: custom:apexcharts-card
graph_span: 24h
header:
title: Dagens energipris (Kr/kWh)
show: true
span:
start: day
now:
show: true
label: Now
series:
- entity: sensor.nordpool_kwh_se3_sek_3_00_025
type: column
data_generator: |
return entity.attributes.raw_today.map((start, index) => {
return [new Date(start[“start”]).getTime(), entity.attributes.raw_today[index][“value”]];
});
I have this in my configuration.yaml
Loads default set of integrations. Do not remove.
default_config:
Extra panel
lovelace:
mode: yaml
resources:
- type: module
url: /local/apexcharts-card.js
Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
utility_meter: !include utility.yaml
nordpool:
sensor:
-
platform: nordpool
Should the prices include vat? Default True
VAT: True
What currency the api fetches the prices in
this is only need if you want a sensor in a non local currency
currency: “SEK”
Option to show prices in cents (or the equivalent in local currency)
price_in_cents: True
Helper so you can set your “low” price
low_price = hour_price < average * low_price_cutoff
low_price_cutoff: 0.00
What power regions your are interested in.
Possible values: “DK1”, “DK2”, “FI”, “LT”, “LV”, “Oslo”, “Kr.sand”, “Bergen”, “Molde”, “Tr.heim”, “Tromsø”, “SE1”, “SE2”, “SE3”,“SE4”, “SYS”, “EE”
region: “SE3”
How many decimals to use in the display of the price
precision: 3
What the price should be displayed in default
Possible values: MWh, kWh and Wh
default: kWh
price_type: kWh
This option allows the usage of a template to add a tariff.
now() always refers start of the hour of that price.
this way we can calculate the correct costs add that to graphs etc.
The price result of the additional_costs template expects this additional cost to be in kWh and not cents as a float
default {{0.0|float}}
additional_costs: “{{0.0|float}}”
I think it has something to do with finding apexcharts-card but do not understand whats wrong?
I have this in my config directory
www/apexcharts-card/apexcharts-card.js and
www/apexcharts-card/apexcharts-card.js.gz
Thankfull for all help