Sorry for the delay in replying @Plouf34
First, I installed the Card-Mod: 🔹 Card-mod - Add css styles to any lovelace card
Then I edited the dashboard I wanted to change:
Then I selected the Edit in the bottom left corner:
Then I edited the code from this:
type: custom:power-flow-card
kw_decimals: null
w_decimals: 0
watt_threshold: 999
min_flow_rate: 3
max_flow_rate: 10
entities:
battery_charge: sensor.lux_battery
battery:
consumption: sensor.lux_battery_discharge_live
production: sensor.lux_battery_charge_live
grid:
consumption: sensor.lux_power_from_grid_live
production: sensor.lux_power_to_grid_live
solar: sensor.lux_solar_output_live
To this (note the extra card_mod section at the bottom):
type: custom:power-flow-card
kw_decimals: null
w_decimals: 0
watt_threshold: 999
min_flow_rate: 3
max_flow_rate: 10
entities:
battery_charge: sensor.lux_battery
battery:
consumption: sensor.lux_battery_discharge_live
production: sensor.lux_battery_charge_live
grid:
consumption: sensor.lux_power_from_grid_live
production: sensor.lux_power_to_grid_live
solar: sensor.lux_solar_output_live
card_mod:
style: |
ha-card {
padding-top: 205px;
width: 1060px;
height: 700px;
transform: scale(1.8);
}
You can play with the CSS values and tailor it for your own requirements @Plouf34

