mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 22:06:50 +00:00
Create switch.switchbot.markdown (#6186)
* Create switch.switchbot.markdown * Add files via upload
This commit is contained in:
parent
0192766d3b
commit
4ef8be77ce
35
source/_components/switch.switchbot.markdown
Normal file
35
source/_components/switch.switchbot.markdown
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "Switchbot"
|
||||||
|
description: "Instructions on how to set up Switchmate switches."
|
||||||
|
date: 2018-09-03 22:41
|
||||||
|
sidebar: true
|
||||||
|
comments: false
|
||||||
|
sharing: true
|
||||||
|
footer: true
|
||||||
|
logo: switchbot.png
|
||||||
|
ha_category: Switch
|
||||||
|
ha_release: 0.78
|
||||||
|
ha_iot_class: "Local Polling"
|
||||||
|
---
|
||||||
|
|
||||||
|
This `Switchbot` switch platform allow you to control Switchbot [devices]( https://www.switch-bot.com/).
|
||||||
|
|
||||||
|
To enable it, add the following lines to your `configuration.yaml`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
switch:
|
||||||
|
- platform: switchbot
|
||||||
|
mac: 'cb:25:0b......'
|
||||||
|
```
|
||||||
|
|
||||||
|
{% configuration %}
|
||||||
|
mac:
|
||||||
|
description: Device MAC address.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
description: The name used to display the switch in the frontend.
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
BIN
source/images/supported_brands/switchbot.png
Normal file
BIN
source/images/supported_brands/switchbot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Loading…
x
Reference in New Issue
Block a user