mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-19 17:38:59 +00:00
857 B
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 |
|
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 %}