Closed mkanet closed 12 months ago
Your card config is incorrect, please add the entity property to secondary info:
type: custom:power-flow-card-plus
entities:
grid:
entity:
consumption: sensor.apf_grid2house
production: sensor.apf_batt2grid
secondary_info:
entity: sensor.pge_electric_cost_to_date
display_state: one_way
color_circle: true
color_icon: true
display_zero_lines:
mode: hide
solar:
entity: sensor.apf_solar2grid
secondary_info:
entity: sensor.openweathermap_cloud_coverage
color_icon: true
display_zero_lines:
mode: hide
battery:
entity:
consumption: sensor.apf_batt2house
production: sensor.apf_solar2batt
state_of_charge: sensor.mka_net_charge
display_state: one_way
color: '#964cb5'
color_icon: true
color_circle: true
display_zero_lines:
mode: hide
home:
color_icon: true
display_zero_lines:
mode: hide
watt_threshold: 800
w_decimals: 1
min_flow_rate: 3.5
max_flow_rate: 6
Thank you so much for showing me what I did wrong. I now know.
Describe the bug I have enabled
secondary_info
as described in the readme.md, but they are being completely ignored in my card code. Please look at the items below in my card code. I am beginning to think I'm doing something fundamentally wrong. It seems only the most basic features work as expected. Even thecolor: #964cb5
line is ignored. In addition todisplay_zero_lines
being ignored. I am hoping there's an easy fix to all the items that are being ignored in the card config.I have installed the latest version from HACS. v0.1.8.1
My card code is:
Please make sure all of this applies and check the checkboxes, by writing "X" inside of them.
[X] I understand that this is a channel for reporting bugs, not a support forum (If you need help configuring the card, go to: Discussions).
[X] I have the latest version of the card installed.
[X] I have cleared my browser cache after installing, updating and configuring the card.
[X] The issue is not related to the UI-Editor not being rendered: "s.entries is not a function". This is a known bug, and is caused by Card Mod. Check the warning this readme section for more information on how to fix it.