home-assistant.io/source/_components/switchbot.markdown
Piotr Żuralski 6cbcc1acdc fixing ha_category components annotation (#9432)
* fixing ha_category components annotation

Signed-off-by: Piotr Żuralski <piotr.zuralski@gmail.com>

* ✏️ Tweak
2019-05-11 09:46:28 +02:00

861 B

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