Added unique ID to Line Power Total.

This commit is contained in:
Marcus Scholz 2022-04-28 15:32:56 +02:00
parent 3a6f051ca3
commit 65e5d0dcc8

View File

@ -43,6 +43,7 @@ template:
- name: "Line Power Total" - name: "Line Power Total"
unit_of_measurement: "W" unit_of_measurement: "W"
icon: mdi:flash icon: mdi:flash
unique_id: power.total
state: > state: >
{% set phase_a = states('sensor.line_power_channel_a_power') | float %} {% set phase_a = states('sensor.line_power_channel_a_power') | float %}
{% set phase_b = states('sensor.line_power_channel_b_power') | float %} {% set phase_b = states('sensor.line_power_channel_b_power') | float %}