mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-24 20:06:52 +00:00

* 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
747 B
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 |
|
0.78 | Local Polling |
|
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 %}