From e0b5bb0fafd3984640400b68a3d9fef7f3bfb714 Mon Sep 17 00:00:00 2001 From: Andre Lengwenus Date: Tue, 18 Jun 2019 20:58:18 +0200 Subject: [PATCH] Add docs for LCN scenes platform (#9545) --- source/_components/lcn.markdown | 45 +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/source/_components/lcn.markdown b/source/_components/lcn.markdown index 1f0dee0600e..b796e6c7f27 100644 --- a/source/_components/lcn.markdown +++ b/source/_components/lcn.markdown @@ -14,6 +14,7 @@ ha_category: - Climate - Cover - Light + - Scene - Sensor - Switch ha_release: 0.85 @@ -35,6 +36,7 @@ There is currently support for the following device types within Home Assistant: - [Climate](#climate) - [Cover](#cover) - [Light](#light) +- [Scene](#scene) - [Sensor](#sensor) - [Switch](#switch) @@ -86,6 +88,14 @@ lcn: dimmable: true transition: 5 + scenes: + - name: Romantic + address: myhome.s0.m7 + register: 1 + scene: 4 + outputs: [output1, output2, relais1, relais3, relais4] + transition: 5 + sensors: - name: Temperature address: myhome.s0.m7 @@ -242,6 +252,37 @@ lights: type: int default: 0 +scenes: + description: List of your scenes. + required: false + type: map + keys: + name: + description: "Name of the scene." + required: true + type: string + address: + description: "[Address](#lcn-addresses) of the module/group." + required: true + type: string + register: + description: Number of scene register (0..9). + required: true + type: int + scene: + description: Number of scene (0..9). + required: true + type: int + outputs: + description: "List of ports ([OUTPUT_PORT](#ports), [RELAY_PORT](#ports))." + required: false + type: list + transition: + description: Transition (ramp) time in seconds. + required: false + type: int + default: None + sensors: description: List of your sensors. required: false @@ -398,6 +439,10 @@ The `lcn` light platform allows the control of the following [LCN](http://www.lc - (Dimmable) output ports - Relays +### {% linkable_title Scene %} + +The `lcn` scene platform allows the activation of previously programmed [LCN](http://www.lcn.eu) scenes. + ### {% linkable_title Sensor %} The `lcn` sensor platform allows the monitoring of the following [LCN](http://www.lcn.eu) data sources: