home-assistant.io/source/_components/switch.vesync.markdown
Mark Perdue b8627d6285 Update attributes table to reflect closed PR (#5206)
The PR https://github.com/home-assistant/home-assistant/pull/13816 has been withdrawn since it exposed static attributes which are not supported. Updating wiki to reflect current state
2018-04-20 14:16:37 +02:00

1.5 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_release
page VeSync Switch Instructions on how to set up Etekcity VeSync switches within Home Assistant. 2018-03-09 02:11 true false true true vesync.png Switch 0.66

The vesync switch platform enables integration with Etekcity VeSync smart switches.

VeSync switches are low-cost wifi smart plugs that offer energy monitoring and work with popular voice assistants.

To use your VeSync switches, you must first register your switches with the VeSync app. Once registration is complete you must add the following to your configuration.yaml file:

# Example configuration.yaml entry
switch:
  - platform: vesync
    username: YOUR_USERNAME
    password: YOUR_PASSWORD

{% configuration %} username: description: Username needed to log in to VeSync. required: true type: string password: description: Password needed to log in to VeSync. required: true type: string {% endconfiguration %}

{% linkable_title Exposed Attributes %}

VeSync switches will expose the following details.

Attribute Description Example
current_power_w The present power consumption of the switch in watts. 100
today_energy_kwh The kilowatt hours used by the switch during the previous 24 hours. 0.12