From d3e59653e6e46d7787df35f3b71111244a62b44b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20L=C3=BCneborg?= <43782170+mopolus@users.noreply.github.com> Date: Thu, 20 Dec 2018 15:06:36 +0100 Subject: [PATCH] Fix IHC config schema (#7913) * Update binary_sensor.ihc.markdown * Update light.ihc.markdown * Update sensor.ihc.markdown * Update switch.ihc.markdown --- source/_components/binary_sensor.ihc.markdown | 6 +++--- source/_components/light.ihc.markdown | 6 +++--- source/_components/sensor.ihc.markdown | 6 +++--- source/_components/switch.ihc.markdown | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/source/_components/binary_sensor.ihc.markdown b/source/_components/binary_sensor.ihc.markdown index b822dcfb1a1..215b0d1bd64 100644 --- a/source/_components/binary_sensor.ihc.markdown +++ b/source/_components/binary_sensor.ihc.markdown @@ -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 diff --git a/source/_components/light.ihc.markdown b/source/_components/light.ihc.markdown index 9d2d724b86e..c977b9a1c5b 100644 --- a/source/_components/light.ihc.markdown +++ b/source/_components/light.ihc.markdown @@ -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 diff --git a/source/_components/sensor.ihc.markdown b/source/_components/sensor.ihc.markdown index 9127ac13b35..e5fe8027ee0 100644 --- a/source/_components/sensor.ihc.markdown +++ b/source/_components/sensor.ihc.markdown @@ -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 diff --git a/source/_components/switch.ihc.markdown b/source/_components/switch.ihc.markdown index 4d0125807d6..0830439c8e1 100644 --- a/source/_components/switch.ihc.markdown +++ b/source/_components/switch.ihc.markdown @@ -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