Ahoj,
měl bych další dotaz. Snažím se o instalaci a zprovoznění
https://github.com/JonahKr/power-distribution-card
Když chci zahájit instalaci v HACS, tak dostávám hlášku:
After the download completes, since you are not using Lovelace in storage mode you need to manually add the resource with these settings:
url: /hacsfiles/power-distribution-card/power-distribution-card.js
type: module
Tady je první otázka - co to proboha znamená? Googlil jsem fakt hodně a nejlepší, co jsem našel bylo, že mám dát na defaultním dashboardu vpravo nahoře 3 tečky, Edit a Take control a tím se to vyřeší. Nevyřešilo, zkoušel jsem.
No tak jsem si říkal OK, takže přidat resource. Zkoušel jsem to dávat do config.yaml, zkoušel jsem tu adresu přidat do Settings - Dashboards - Resources.
V obou případech když zadám do config.yaml konfiguraci té karty:
type: custom:power-distribution-card
title: Power Flow
entities:
- decimals: '2'
display_abs: true
name: Grid
unit_of_display: W
icon: mdi:transmission-tower
entity: sensor.solax_measured_power
preset: grid
icon_color:
bigger: ''
equal: ''
smaller: ''
invert_value: true
threshold: ''
secondary_info_entity: ''
- decimals: 2
display_abs: true
name: House
unit_of_display: W
invert_value: true
consumer: true
icon: mdi:home-assistant
entity: sensor.solax_house_load
preset: home
threshold: ''
icon_color:
bigger: ''
equal: ''
smaller: ''
- decimals: 2
display_abs: true
name: Solar
unit_of_display: W
icon: mdi:solar-power
producer: true
entity: sensor.solax_pv_power_total
preset: solar
threshold: ''
icon_color:
bigger: ''
equal: ''
smaller: ''
- decimals: 2
display_abs: true
name: battery
unit_of_display: W
consumer: true
icon: mdi:battery
producer: true
entity: sensor.solax_battery_power_charge
preset: battery
threshold: ''
icon_color:
bigger: ''
equal: ''
smaller: ''
secondary_info_entity: sensor.solax_battery_capacity
invert_value: true
secondary_info_attribute: ''
battery_percentage_entity: sensor.solax_battery_capacity
center:
type: card
content:
type: glance
entities:
- entity: sensor.current_ote_energy_cost
name: Electric Cost
show_icon: false
animation: flash
tak při kliknutí na Check configuration dostávám toto:
Integration error: title - Integration 'title' not found.
Integration error: center - Integration 'center' not found.
Integration error: type - Integration 'type' not found.
Integration error: animation - Integration 'animation' not found.
Integration error: entities - Integration 'entities' not found.
Už netuším, co bych mohl dělat špatně. Díky