Update tplink.markdown (#18664)

Corrected wrong template name example.
This commit is contained in:
Eduardo Roldan 2021-07-30 06:33:26 -03:00 committed by GitHub
parent 0f03e6e96c
commit cacb364034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ sensor:
value_template: "{{ state_attr('switch.my_tp_switch','current_a') }}"
unit_of_measurement: "A"
my_tp_switch_watts:
friendly_name_template: "{{ state_attr('switch.my_tp_switch','friendly_name') }} Current Consumption"
friendly_name_template: "{{ state_attr('switch.my_tp_switch','friendly_name') }} Power"
value_template: "{{ state_attr('switch.my_tp_switch','current_power_w') }}"
unit_of_measurement: "W"
my_tp_switch_total_kwh: