Hi,
Iāve setup my entities for all the combinations on the panel.
I donāt think the grid to battery is showing the flow correctly.
These are the values of my sensorsā¦
house_consumption_entity: 0.6
grid_consumption_entity: 2.9
grid_feed_in_entity: 0.0
solar_consumption_entity: 1.0
solar_yield_entity: 1.0
grid_to_battery_entity: 1.2999999999999998
battery_charge_entity: 80
battery_charging_entity: 3.3
battery_consumption_entity: 0.0
car_battery_entity: 55
car_charging_entity: 0.0
car2_battery_entity: 65
car2_charging_entity: 0.0
I got these from:
house_consumption_entity: {{ states('sensor.harvi_home') }}
grid_consumption_entity: {{ states('sensor.harvi_grid_import') }}
grid_feed_in_entity: {{ states('sensor.harvi_grid_export') }}
solar_consumption_entity: {{ states('sensor.harvi_solar') }}
solar_yield_entity: {{ states('sensor.solaredge_ac_power_kw_output' )}}
grid_to_battery_entity: {{ states('sensor.grid_to_battery') }}
battery_charge_entity: {{ states('sensor.powerwall_charge_corrected') }}
battery_charging_entity: {{ states('sensor.harvi_powerwall_charge') }}
battery_consumption_entity: {{ states('sensor.harvi_powerwall_discharge') }}
car_battery_entity: {{ states('sensor.jyggy_battery_level') }}
car_charging_entity: {{ states('sensor.zappi_jyggy_power') }}
car2_battery_entity: {{ states('sensor.vf1ag000366115079_battery_level') }}
car2_charging_entity: {{ states('sensor.zappi_paddy_power') }}
My calculation for Grid to Battery so far isā¦
{% if ((states('sensor.harvi_powerwall_charge') | float) > 0.0) and ((states('sensor.harvi_grid_import') | float) > 0.0) %}
{{ (states('sensor.harvi_grid_import') | float) - (states('sensor.harvi_home') | float) - (states('sensor.solaredge_ac_power_kw_output') | float) }}
{% else %}0.0{% endif %}
But my card shows no flow from grid to battery ?