Added unique ID to Line Power Total.
This commit is contained in:
parent
3a6f051ca3
commit
65e5d0dcc8
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user