New IHC platform (#4129)
* New IHC platform * autosetup -> auto_setup * Moved auto setup to the IHC component * Removed by LK in logo * Changes from review. * Defaults in configurations. manualy setup" changed to "manual setup" (Anchors adjusted) * Relative links changed to absolute links
This commit is contained in:
parent
20c82d5d25
commit
412869ff93
6 changed files with 339 additions and 0 deletions
56
source/_components/switch.ihc.markdown
Normal file
56
source/_components/switch.ihc.markdown
Normal file
|
@ -0,0 +1,56 @@
|
|||
---
|
||||
layout: page
|
||||
title: "IHC Switch"
|
||||
description: "Instructions how to integrate IHC switches within Home Assistant."
|
||||
date: 2017-11-27 13:35
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
logo: ihc.png
|
||||
ha_category: Switch
|
||||
ha_release: 0.62
|
||||
ha_iot_class: "Local Push"
|
||||
---
|
||||
|
||||
Before you can use the IHC Switch platform, you must setup the [IHC Component](/components/ihc/)
|
||||
|
||||
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:
|
||||
|
||||
```yaml
|
||||
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: int
|
||||
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](/components/ihc/#manual-setup)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue