Create switch.switchbot.markdown (#6186)

* Create switch.switchbot.markdown

* Add files via upload
This commit is contained in:
Daniel Høyer Iversen 2018-09-06 11:17:31 +02:00 committed by Fabian Affolter
parent 0192766d3b
commit 4ef8be77ce
2 changed files with 35 additions and 0 deletions

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB