Fix IHC config schema (#7913)

* Update binary_sensor.ihc.markdown

* Update light.ihc.markdown

* Update sensor.ihc.markdown

* Update switch.ihc.markdown
This commit is contained in:
Morten Lüneborg 2018-12-20 15:06:36 +01:00 committed by Martin Hjelmare
parent 6e27053008
commit d3e59653e6
4 changed files with 12 additions and 12 deletions

View File

@ -29,7 +29,7 @@ be found in the IHC project and setup as binary sensors:
## {% linkable_title Manual configuration %} ## {% linkable_title Manual configuration %}
To manually configure IHC Binary Sensors insert the "binary_sensors" section in your IHC configuration: To manually configure IHC Binary Sensors insert the "binary_sensor" section in your IHC configuration:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
@ -38,7 +38,7 @@ ihc:
username: YOUR_USERNAME username: YOUR_USERNAME
password: YOUR_PASSWORD password: YOUR_PASSWORD
info: true info: true
binary_sensors: binary_sensor:
- id: 12345 - id: 12345
name: switch_front_door name: switch_front_door
inverting: false inverting: false
@ -48,7 +48,7 @@ ihc:
``` ```
{% configuration %} {% configuration %}
binary_sensors: binary_sensor:
description: List of binary sensors to setup manually. description: List of binary sensors to setup manually.
required: false required: false
type: map type: map

View File

@ -27,7 +27,7 @@ project and setup as light devices:
- Wireless mobile dimmer - Wireless mobile dimmer
- Dataline lamp outlet - Dataline lamp outlet
To manually configure IHC lights insert the "lights" section in To manually configure IHC lights insert the "light" section in
your IHC configuration: your IHC configuration:
```yaml ```yaml
@ -36,14 +36,14 @@ ihc:
username: YOUR_USERNAME2 username: YOUR_USERNAME2
password: YOUR_PASSWORD2 password: YOUR_PASSWORD2
info: true info: true
lights: light:
- id: 12345 - id: 12345
name: tablelight name: tablelight
- id: 23432 - id: 23432
``` ```
{% configuration %} {% configuration %}
lights: light:
description: List of lights to setup manually description: List of lights to setup manually
required: false required: false
type: map type: map

View File

@ -23,7 +23,7 @@ project and setup as sensors:
- Dataline Humidity - Will insert 1 humidity and 2 temperature sensors (calculated dewpoint) - Dataline Humidity - Will insert 1 humidity and 2 temperature sensors (calculated dewpoint)
- Dataline Lux - will insert 1 light and 1 temperature sensor - Dataline Lux - will insert 1 light and 1 temperature sensor
To manually configure IHC sensors insert the "sensors" To manually configure IHC sensors insert the "sensor"
section in your IHC configuration: section in your IHC configuration:
```yaml ```yaml
@ -32,7 +32,7 @@ ihc:
username: YOUR_USERNAME2 username: YOUR_USERNAME2
password: YOUR_PASSWORD2 password: YOUR_PASSWORD2
info: true info: true
sensors: sensor:
- id: 12345 - id: 12345
name: Temperatur_living_room name: Temperatur_living_room
unit_of_measurement: '°C' unit_of_measurement: '°C'
@ -43,7 +43,7 @@ ihc:
``` ```
{% configuration %} {% configuration %}
sensors: sensor:
description: List of sensors to setup manually. description: List of sensors to setup manually.
required: false required: false
type: map type: map

View File

@ -24,7 +24,7 @@ project and setup as switch devices:
- Mobile wireless relay - Mobile wireless relay
- Dataline plug outlet - Dataline plug outlet
To manually configure IHC switches insert the "switches" section in your To manually configure IHC switches insert the "switch" section in your
IHC configuration: IHC configuration:
```yaml ```yaml
@ -33,13 +33,13 @@ ihc:
username: YOUR_USERNAME username: YOUR_USERNAME
password: YOUR_PASSWORD password: YOUR_PASSWORD
info: true info: true
switches: switch:
- id: 12345 - id: 12345
- id: 12346 - id: 12346
``` ```
{% configuration %} {% configuration %}
switches: switch:
description: List of switches to setup manually description: List of switches to setup manually
required: false required: false
type: map type: map