home-assistant.io/source/_components/switch.gc100.markdown
Ville Skyttä b39bd81c6e Spelling fixes (#4532)
* Spelling fixes

* "It's" -> "its" fixes

* Fix capitalization of "Pi" in "Raspberry Pi"

"Pi", not "PI" or "pi".
2018-01-28 22:28:56 +01:00

774 B

layout, title, description, date, sidebar, comments, sharing, footer, ha_category, ha_release, ha_iot_class
layout title description date sidebar comments sharing footer ha_category ha_release ha_iot_class
page gc100 Switch Instructions on how to set up a gc100 switch within Home Assistant. 2017-10-27 17:26 true false true true Switch 0.57 Local Polling

This allows you to control and monitor the relay state on your GC100.

To enable this switch, you first have to set up gc100, and add the following lines to your configuration.yaml file:

# Example configuration.yaml entry
switch:
  - platform: gc100
    ports:
      - '4:1': Siren
      - '4:2': Sprinkler

Configuration variables:

  • ports (Required): A list of module-address to name mappings in the format 'x:y': name, where x is module #, y is address.