From 18e04289dd8eb4fce8cfc596618cfa9a7dc81b6a Mon Sep 17 00:00:00 2001 From: quiglag <32344284+quiglag@users.noreply.github.com> Date: Sat, 11 Jul 2020 09:49:45 -0700 Subject: [PATCH] fix error in example code (#13974) added missing "sensors:" to line 92 --- source/_integrations/vesync.markdown | 1 + 1 file changed, 1 insertion(+) 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 }}'