home-assistant.io/source/_components/switch.vesync.markdown
2019-01-22 09:43:41 +01:00

1.6 KiB

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.

{% linkable_title Configuration %}

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