flixlix/power-flow-card-plus

[BUG]

Opened this issue · 1 comments

Describe the bug
No possibility to set decimals to 0 on KWh

It would be really great to set on the Individual Cicles also a Value Line : 3.763 KWh or 3763 KWh

Screenshots
Please see the Screenshot
Screenshot 2024-10-22 123807

Screenshot 2024-10-22 124155

Screenshot 2024-10-22 124328

This is my yaml Code:
type: custom:power-flow-card-plus entities: battery: entity: sensor.kostalwr_battery_power state_of_charge: sensor.kostalwr_battery_soc color_icon: production color_circle: true show_state_of_charge: true icon: phu:solar-battery-15 invert_state: false color_value: true display_zero_tolerance: 0 display_state: one_way grid: entity: sensor.kostalwr_grid_power secondary_info: {} display_state: one_way color_icon: true solar: entity: sensor.kostalwr_sum_power_of_all_pv_dc_inputs display_zero_state: true secondary_info: {} home: secondary_info: {} entity: sensor.kostalwr_home_power subtract_individual: false override_state: true fossil_fuel_percentage: secondary_info: {} individual: - entity: sensor.kostalwr_home_consumption_from_grid_year secondary_info: {} name: Bezogen unit_of_measurement: KWh unit_white_space: true - entity: sensor.kostalwr_home_consumption_year secondary_info: {} name: Varbraucht unit_of_measurement: KWh unit_white_space: true calculate_flow_rate: false - entity: sensor.kostalwr_energy_to_grid_year secondary_info: {} display_zero: false unit_white_space: true unit_of_measurement: KWh decimals: 0 name: Eingespeist clickable_entities: true display_zero_lines: mode: show transparency: 50 grey_color: - 189 - 189 - 189 use_new_flow_rate_model: true w_decimals: 1 kw_decimals: 2 min_flow_rate: 1 max_flow_rate: 6 max_expected_power: 10000 min_expected_power: 0.01 watt_threshold: 1000 transparency_zero_lines: 0 disable_dots: false

If i delete the entry (unit) KWh then there are the Right "unit" 5.625 but Kw but that isnt correct because the unit should be KWh because it is KostalWR Energy to Grid Year in my case 5744KWh.

Bildschirmfoto 2024-10-29 um 20 53 33 Bildschirmfoto 2024-10-29 um 20 32 09