flixlix / power-flow-card-plus

A power distribution card inspired by the official Energy Distribution card for Home Assistant
510 stars 62 forks source link

[BUG] v0.2.0-beta : template entity not displayed as secondary info for individual #510

Open malonip opened 4 months ago

malonip commented 4 months ago

Describe the bug Template helper is not displayed as secondary info for an individual. It used to be working fine on stable release.

To Reproduce YAML code : type: custom:power-flow-card-plus entities: battery: {} grid: entity: sensor.go_echarger_225537_pgrid name: Réseau display_state: one_way_no_zero color_icon: true color_circle: true solar: entity: sensor.go_echarger_225537_ppv name: Solaire display_zero_state: true color_icon: true color_value: true home: name: Maison color_value: true color_icon: true individual:

This entity is a template helper.

Expected behavior The secondary info (here the text "ECS" should be displayed in the circle).

Screenshots image

Secondary info entity (template helper) : image

Browser Console Errors N/A

Desktop (please complete the following information):

Smartphone (please complete the following information): N/A

Additional context N/A

Please make sure all of this applies and check the checkboxes, by writing "X" inside of them.

NJTrance commented 4 months ago

same there, no secondary values since more than 2 individual entities release.

also no text value displayed for primary or secondary info also (only numeric values works), was working before.

BombusAlpinus commented 3 months ago

hi, struggeling with the same behaviour in current public build (v0.2.1). no text values displayed in the individuals secondary entities. numeric values work. would be nice if this get fixed. using the secondary info for displaying my heatpump working state which is a string value e.g. heating, off ... thanks!

flixlix commented 3 months ago

Hey, sorry for the bug, I'll try fixing it in the next couple of days

BombusAlpinus commented 3 months ago

hey, just came across this Thread and the workaround works for string entities.

image

currently wondering why my "template" tries weren't successfully some days ago ....