From 574be34e36b90769b1578dcff799d30ae2faf08f Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Thu, 3 Oct 2024 12:43:06 +0200 Subject: [PATCH] Added additional power plugs to other/untracked power. --- template.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/template.yaml b/template.yaml index 84ce21b..95b536f 100644 --- a/template.yaml +++ b/template.yaml @@ -41,7 +41,11 @@ {% 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 + solar - raumduft - keller - musik - bett - heimkino_sz - deko - schreibtisch - serverraum - heimkino_wz - spieleschrank) | round(1) }} + {% set kuehlschrank = states('sensor.tz3000_ww6drja5_ts011f_leistung') | float %} + {% set kaffeemaschine = states('sensor.kaffeemaschine_leistung_2') | float %} + {% set waeschetrockner = states('sensor.waschetrockner_leistung') | float %} + {% set waschmaschine = states('sensor.waschmaschine_leistung') | float %} + {{ (total + solar - raumduft - keller - musik - bett - heimkino_sz - deko - schreibtisch - serverraum - heimkino_wz - spieleschrank - kuehlschrank - kaffeemaschine - waeschetrockner - waschmaschine) | round(1) }} device_class: power state_class: measurement attributes: