-
Notifications
You must be signed in to change notification settings - Fork 1
Switch
Jens Østergaard Nielsen edited this page Jan 13, 2018
·
6 revisions
Before you can use the IHC Switch platform, you must setup the IHC Component
To configure IHC switches insert this section in your configuration:
switch:
- platform: ihc
The following products will be recognized from the ihc project if autosetup is enabled:
- Wireless plug outlet
- Wireless relay
- Mobile wireless relay
- Dataline plug outlet
To manually add ihc resources do:
switch:
- platform: ihc
switches:
- id: 12345
name: myswitch
- id: 12346
....
Configuration variables:
- id (Required): The IHC resource id.
- name (Optional): The name of the component.
- switches (Optional): List of switches to setup manually
The resource id should be a boolean resource. (On/Off) For more information about ihc resource ids see Manual Setup