mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-03 09:38:59 +00:00

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
1.5 KiB
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 |