home-assistant.io/source/_components/switchbot.markdown
Franck Nijhof 1833c32a2c Cleans up front matter (#9835)
* Sets front matter defaults

* Removes default front matter from section templates/pages

* Removes default front matter from addon pages

* Removes default front matter from integration pages

* Removes default front matter from posts

* Removes default front matter from docs pages

* Removes default front matter from other pages

* Fixes blog category pages
2019-07-11 14:35:08 -07:00

747 B

title, description, logo, ha_category, ha_release, ha_iot_class, redirect_from
title description logo ha_category ha_release ha_iot_class redirect_from
Switchbot Instructions on how to set up Switchbot switches. switchbot.png
Switch
0.78 Local Polling
/components/switch.switchbot/

The switchbot switch platform allows you to control Switchbot devices.

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 %}