Add velbus auto-discovery (#5132)

This commit is contained in:
Thomas Delaet 2018-08-05 12:12:48 +03:00 committed by Martin Hjelmare
parent 28b333c429
commit 64c0101a9d
4 changed files with 1 additions and 206 deletions

View File

@ -13,49 +13,6 @@ ha_iot_class: "Local Push"
ha_release: "0.50"
---
The `velbus` binary_sensor allows you to control [Velbus](http://www.velbus.eu) connected wall switches.
## {% linkable_title Configuration %}
To use your Velbus wall switches in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
binary_sensor:
- platform: velbus
devices:
- name: Wall Switch 1
module: 0xda
channel: 4
- name: Wall Switch 2
module: 0xbc
channel: 1
is_pushbutton: true
```
{% configuration %}
devices:
description: The list contains the binary sensors to configure.
required: true
type: map
keys:
name:
description: Name to use in the frontend.
required: true
type: string
module:
description: The hexadecimal module address.
required: true
type: string
channel:
description: The channel number in the module.
required: true
type: string
is_pushbutton:
description: Set to indicate if a wall switch is a push button or not.
required: false
type: boolean
default: false
{% endconfiguration %}
The `velbus` binary_sensor allows you to control [Velbus](http://www.velbus.eu) connected input devices.
For hub configuration, see [the Velbus component](/components/velbus/).

View File

@ -1,62 +0,0 @@
---
layout: page
title: "Velbus Fans"
description: "Access and control your Velbus fans."
date: 2017-06-17 16.58
sidebar: true
comments: false
sharing: true
footer: true
logo: velbus.png
ha_category: Fan
ha_iot_class: "Local Push"
ha_release: "0.50"
---
The `velbus` fan allows you to control [Velbus](http://www.velbus.eu) connected fans.
## {% linkable_title Configuration %}
To use your Velbus fans in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
fan:
- platform: velbus
devices:
- name: Fan 1
module: 0xda
channel_low: 4
channel_medium: 3
channel_high: 2
```
{% configuration %}
devices:
description: The list contains the fans to configure.
required: true
type: map
keys:
name:
description: Name to use in the frontend.
required: true
type: string
module:
description: The hexadecimal module address.
required: true
type: string
channel_low:
description: The channel number in the module for low-speed.
required: true
type: string
channel_medium:
description: The channel number in the module for medium-speed.
required: true
type: string
channel_high:
description: The channel number in the module for high-speed.
required: true
type: string
{% endconfiguration %}
For hub configuration, see [the Velbus component](/components/velbus/).

View File

@ -1,55 +0,0 @@
---
layout: page
title: "Velbus lights"
description: "Access and control your Velbus lights."
date: 2017-06-17 16.58
sidebar: true
comments: false
sharing: true
footer: true
logo: velbus.png
ha_category: Light
ha_iot_class: "Local Push"
ha_release: "0.50"
---
The `velbus` light allows you to control [Velbus](http://www.velbus.eu) lights.
## {% linkable_title Configuration %}
To use your Velbus lights in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
light:
- platform: velbus
devices:
- name: Light 1
module: 0xda
channel: 4
- name: Light 2
module: 0xbc
channel: 1
```
{% configuration %}
devices:
description: The list contains the lights to configure.
required: true
type: map
keys:
name:
description: Name to use in the frontend.
required: true
type: string
module:
description: The hexadecimal module address.
required: true
type: string
channel:
description: The channel number in the module.
required: true
type: string
{% endconfiguration %}
For hub configuration, see [the Velbus component](/components/velbus/).

View File

@ -15,49 +15,4 @@ ha_release: "0.50"
The `velbus` switch allows you to control [Velbus](http://www.velbus.eu) connected switches.
## {% linkable_title Configuration %}
To use your Velbus switches in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
light:
- platform: velbus
devices:
- name: Switch 1
type: single
module: 0xda
channel: 4
- name: Switch 2
type: double
module: 0xbc
open_channel: 1
close_channel: 2
```
{% configuration %}
devices:
description: The list contains the switches to configure.
required: true
type: map
keys:
name:
description: Name to use in the frontend.
required: true
type: string
module:
description: The hexadecimal module address.
required: true
type: string
channel:
description: The channel number in the module.
required: true
type: string
type:
description: "Either `single` or `double`. If single, only `channel` attribute is required. If `double`, both `open_channel:` and `close_channel:` keys are required."
required: true
type: string
{% endconfiguration %}
For hub configuration, see [the Velbus component](/components/velbus/).