diff --git a/source/_integrations/vesync.markdown b/source/_integrations/vesync.markdown index e954274312e..9d4e6c01061 100644 --- a/source/_integrations/vesync.markdown +++ b/source/_integrations/vesync.markdown @@ -89,6 +89,7 @@ Adapted from the [TP-Link integration](https://www.home-assistant.io/integration ```yaml sensor: - platform: template + sensors: vesync_switch_watts: friendly_name_template: "{{ states.switch.vesync_switch.name}} Current Consumption" value_template: '{{ states.switch.vesync_switch.attributes["current_power_w"] | float }}'