home-assistant.io/source/_components/switchbot.markdown
2019-04-03 10:16:08 -07:00

857 B

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class, redirect_from
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class redirect_from
page Switchbot Instructions on how to set up Switchbot switches. 2018-09-03 22:41 true false true true switchbot.png Switch 0.78 Local Polling
/components/switch.switchbot/

The switchbot switch platform allows you to control Switchbot devices.

{% linkable_title Manual Configuration %}

To enable it, add the following lines to your configuration.yaml:

switch:
  - platform: switchbot
    mac: 'MAC_ADDRESS'

{% configuration %} mac: description: The device MAC address with lower-case letters. required: true type: string name: description: The name used to display the switch in the frontend. required: false type: string {% endconfiguration %}