Update edimax.markdown (#20413)

This commit is contained in:
devianceluka 2021-11-23 21:35:27 +01:00 committed by GitHub
parent 218ff773c8
commit 69fffb773f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ template:
- name: Edimax Accumulated daily power consumption
unit_of_measurement: "kWh"
state: "{{ state_attr('switch.edimax_smart_plug', 'current_power_w') | default(0, true) }}"
state: "{{ state_attr('switch.edimax_smart_plug', 'today_energy_kwh') | default(0, true) }}"
```
{% endraw %}