home-assistant.io/source/_components/switch.ihc.markdown
2018-10-03 12:42:57 +02:00

1.3 KiB

layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page IHC Switch Instructions on how to integrate IHC switches within Home Assistant. 2017-11-27 13:35 true false true true ihc.png Switch 0.62 Local Push

Before you can use the IHC Switch platform, you must setup the IHC Component

When auto setup is enabled the following products will be found in the ihc project and setup as switch devices:

  • Wireless plug outlet
  • Wireless relay
  • Mobile wireless relay
  • Dataline plug outlet

To manually configure IHC switches insert this section in your configuration:

switch:
    - platform: ihc
    auto_setup: True
    switches:
        - id: 12345
          name: myswitch
        - id: 12346
        ....

{% configuration %} switches: description: List of switches to setup manually required: false type: map keys: id: description: The IHC resource id. required: true type: integer name: description: The name of the component required: false type: string {% endconfiguration %}

The resource id should be a boolean resource (On/Off). For more information about IHC resource ids see Manual Setup.