You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the house bubble flow only shows the color of the highest flow.
Is it possible to change the house bubble to visualize percentages of each source (in respect to each other) just like the Home Assistant's Energy Dashboard house bubble?
It could use the templates below to calculate the percentage of each piece of the bubble above.
template:
- sensor:
- name: 'Solar Power Percentage'unit_of_measurement: '%'state: > {% set total = states('sensor.powerwall_solar_export')|float + states('sensor.powerwall_site_import')|float + states('sensor.powerwall_battery_import')|float %} {{ ((states('sensor.powerwall_solar_export')|float / total) * 100)|round(2) if total > 0 else 0 }}
- name: 'Grid Power Percentage'unit_of_measurement: '%'state: > {% set total = states('sensor.powerwall_solar_export')|float + states('sensor.powerwall_site_import')|float + states('sensor.powerwall_battery_import')|float %} {{ ((states('sensor.powerwall_site_import')|float / total) * 100)|round(2) if total > 0 else 0 }}
- name: 'Battery Power Percentage'unit_of_measurement: '%'state: > {% set total = states('sensor.powerwall_solar_export')|float + states('sensor.powerwall_site_import')|float + states('sensor.powerwall_battery_import')|float %} {{ ((states('sensor.powerwall_battery_import')|float / total) * 100)|round(2) if total > 0 else 0 }}`
The text was updated successfully, but these errors were encountered:
Currently, the house bubble flow only shows the color of the highest flow.
Is it possible to change the house bubble to visualize percentages of each source (in respect to each other) just like the Home Assistant's Energy Dashboard house bubble?
It could use the templates below to calculate the percentage of each piece of the bubble above.
The text was updated successfully, but these errors were encountered: