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 %}
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
# Example configuration.yaml entry
@ -38,7 +38,7 @@ ihc:
username: YOUR_USERNAME
password: YOUR_PASSWORD
info: true
binary_sensors:
binary_sensor:
- id: 12345
name: switch_front_door
inverting: false
@ -48,7 +48,7 @@ ihc:
```
{% configuration %}
binary_sensors:
binary_sensor:
description: List of binary sensors to setup manually.
required: false
type: map

View File

@ -27,7 +27,7 @@ project and setup as light devices:
- Wireless mobile dimmer
- 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:
```yaml
@ -36,14 +36,14 @@ ihc:
username: YOUR_USERNAME2
password: YOUR_PASSWORD2
info: true
lights:
light:
- id: 12345
name: tablelight
- id: 23432
```
{% configuration %}
lights:
light:
description: List of lights to setup manually
required: false
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 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:
```yaml
@ -32,7 +32,7 @@ ihc:
username: YOUR_USERNAME2
password: YOUR_PASSWORD2
info: true
sensors:
sensor:
- id: 12345
name: Temperatur_living_room
unit_of_measurement: '°C'
@ -43,7 +43,7 @@ ihc:
```
{% configuration %}
sensors:
sensor:
description: List of sensors to setup manually.
required: false
type: map

View File

@ -24,7 +24,7 @@ project and setup as switch devices:
- Mobile wireless relay
- 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:
```yaml
@ -33,13 +33,13 @@ ihc:
username: YOUR_USERNAME
password: YOUR_PASSWORD
info: true
switches:
switch:
- id: 12345
- id: 12346
```
{% configuration %}
switches:
switch:
description: List of switches to setup manually
required: false
type: map