diff --git a/configuration.yaml b/configuration.yaml index 9109cd9..bc3aa48 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -45,6 +45,7 @@ template: icon: mdi:flash state: > {% set total = states('sensor.netzleistung') | float %} + {% set solar = states('sensor.balkonkraftwerk_power') | float %} {% set raumduft = states('sensor.flur_raumduft_power') | float %} {% set keller = states('sensor.keller_power') | float %} {% set anrichte = states('sensor.kuche_anrichte_power') | float %} @@ -56,7 +57,7 @@ template: {% set serverraum = states('sensor.serverraum_power') | float %} {% set heimkino_wz = states('sensor.wohnzimmer_heimkino_power') | float %} {% set spieleschrank = states('sensor.wohnzimmer_spieleschrank_power') | float %} - {{ (total - raumduft - keller - musik - bett - heimkino_sz - deko - schreibtisch - serverraum - heimkino_wz - spieleschrank) | round(1) }} + {{ (total + solar - raumduft - keller - musik - bett - heimkino_sz - deko - schreibtisch - serverraum - heimkino_wz - spieleschrank) | round(1) }} # calendar integration calendar: !include calendars.yaml