From 9a9029d376b0817dea2012dfbfbc79cda82a2f7f Mon Sep 17 00:00:00 2001 From: ttrabatt Date: Sun, 21 Jun 2026 15:25:14 +0200 Subject: [PATCH] Added AC_total_pw_kW as ac_monitoring_power_ab measured in kW --- templates.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/templates.yaml b/templates.yaml index 6cdc2aa..4505050 100644 --- a/templates.yaml +++ b/templates.yaml @@ -1,6 +1,4 @@ --- - - # IMPORTANT NOTE: all sensors here having templates have been migrated/fixed to HERE from other as per Deprecation of platform: Template # Storage for Bubble Card Modules @@ -69,3 +67,10 @@ - default_entity_id: sensor.holiday name: Holiday state: "{% if states.calendar.holidays_in_italy.state == 'on' %} {{ states.calendar.holidays_in_italy.attributes.message }} {% else %} none {% endif %}" + +- sensor: + - unique_id: AC_total_power_kW + unit_of_measurement: kW + default_entity_id: sensor.ac_total_power_kW + name: AC Total Power + state: "{{ ((states('sensor.ac_power_monitoring_power_ab') | float(3)) / 1000) | round(3) }}"