Switchmate SimplySmart Home

This Switchmate switch platform allows you to control Switchmate devices.

Configuration

To enable it, add the following lines to your configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more]:

switch:
  - platform: switchmate
    mac: "cb:25:0b......"

Configuration Variables

mac string Required

Device MAC address.

name string (Optional)

The name used to display the switch in the frontend.

flip_on_off boolean (Optional, default: false)

Option to flip the on/off state.

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