home-assistant.io/source/_components/switchmate.markdown
2019-04-03 10:16:08 -07:00

1.1 KiB

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 Switchmate Instructions on how to set up Switchmate switches. 2018-08-17 22:41 true false true true switchmate-logo-rgb.png Switch 0.78 Local Polling
/components/switch.switchmate/

This Switchmate switch platform allows you to control Switchmate devices.

{% linkable_title 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 component is tested with SwitchMate Lighting Control Rocker and SwitchMate Lighting Control Toggle.