Update switch.tplink.markdown - Typo fix on template (#7807)

This commit is contained in:
Emanuele 2018-12-12 16:23:03 +01:00 committed by Fabian Affolter
parent 637edd3412
commit 1a7c09f4bd

View File

@ -88,7 +88,7 @@ sensor:
value_template: '{{ states.switch.my_tp_switch.attributes["voltage"] | float }}'
unit_of_measurement: 'V'
my_tp_switch_today_kwh:
friendly_name_template: "{{ states.switch.my_tp_switch.name}} Today's Consuption"
friendly_name_template: "{{ states.switch.my_tp_switch.name}} Today's Consumption"
value_template: '{{ states.switch.my_tp_switch.attributes["today_energy_kwh"] | float }}'
unit_of_measurement: 'kWh'
```