mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Add documentation for LCN switch platform (#8223)
* Add documentation for LCN switch platform * Changed ha_release to 0.87
This commit is contained in:
parent
4ba0fe31de
commit
b532339895
@ -23,6 +23,8 @@ With this setup sending and receiving commands to and from LCN modules is possib
|
||||
There is currently support for the following device types within Home Assistant:
|
||||
|
||||
- [Light](/components/light.lcn)
|
||||
- [Switch](/components/switch.lcn)
|
||||
|
||||
|
||||
## {% linkable_title Configuration %}
|
||||
|
||||
@ -46,6 +48,11 @@ lcn:
|
||||
output: output1
|
||||
dimmable: true
|
||||
transition: 5
|
||||
|
||||
switches:
|
||||
- name: Sprinkler switch
|
||||
address: myhome.s0.m7
|
||||
output: relay1
|
||||
```
|
||||
|
||||
{% configuration %}
|
||||
@ -113,6 +120,24 @@ lights:
|
||||
required: false
|
||||
type: int
|
||||
default: 0
|
||||
|
||||
switches:
|
||||
description: List of your switches.
|
||||
required: false
|
||||
type: map
|
||||
keys:
|
||||
name:
|
||||
description: "Name of the switch."
|
||||
required: true
|
||||
type: string
|
||||
address:
|
||||
description: "[Address](/components/lcn#lcn-addresses) of the module/group."
|
||||
required: true
|
||||
type: string
|
||||
output:
|
||||
description: "Switch source ([OUTPUT_PORT](/components/lcn#ports), [RELAY_PORT](/components/lcn#ports))."
|
||||
required: true
|
||||
type: string
|
||||
{% endconfiguration %}
|
||||
|
||||
|
||||
|
24
source/_components/switch.lcn.markdown
Normal file
24
source/_components/switch.lcn.markdown
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
layout: page
|
||||
title: "LCN Switch"
|
||||
description: "Instructions on how to setup LCN switches within Home Assistant."
|
||||
date: 2018-11-01 08:00
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
logo: lcn.png
|
||||
ha_category: Switch
|
||||
ha_release: 0.87
|
||||
ha_iot_class: "Local Push"
|
||||
---
|
||||
|
||||
The `lcn` switch platform allows the control of the following [LCN](http://www.lcn.eu) ports:
|
||||
|
||||
- Output ports
|
||||
- Relays
|
||||
|
||||
## {% linkable_title Configuration %}
|
||||
|
||||
The `lcn` component must be configured correctly, see [LCN component](/components/lcn).
|
||||
This platform is configured within the `lcn` component.
|
Loading…
x
Reference in New Issue
Block a user