home-assistant.io/source/_components/switch.vesync.markdown
2018-04-11 12:06:53 +02:00

2.0 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
connection_status The connection status of the switch. online
connection_type The connection type of the switch. wifi
device_type The device type of the switch. wifi-switch-1.3
model The model of the switch. wifi-switch