home-assistant.io/source/_components/switchmate.markdown
Franck Nijhof 1833c32a2c Cleans up front matter (#9835)
* 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
2019-07-11 14:35:08 -07:00

988 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
Switchmate Instructions on how to set up Switchmate switches. switchmate-logo-rgb.png
Switch
0.78 Local Polling
/components/switch.switchmate/

This Switchmate switch platform allows you to control Switchmate devices.

Configuration

To enable it, add the following lines to your configuration.yaml:

switch:
  - platform: switchmate
    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 flip_on_off: description: Option to flip the on/off state. required: false type: boolean default: false {% endconfiguration %}

The integration is tested with SwitchMate Lighting Control Rocker and SwitchMate Lighting Control Toggle.