Update EnOcean docs

This commit is contained in:
Fabian Affolter 2016-08-24 13:12:51 +02:00
parent 1dff23cae3
commit 7fae02eaad
No known key found for this signature in database
GPG key ID: DDF3D6F44AAB1336
4 changed files with 21 additions and 18 deletions

View file

@ -15,18 +15,17 @@ ha_release: 0.21
An EnOcean switch can take many forms. Currently only one type has been tested: Permundo PSC234
To use your EnOcean device, you first have to set up your [EnOcean hub](../enocean) and then add the following to your `configuration.yaml` file:
To use your EnOcean device, you first have to set up your [EnOcean hub](/components/enocean/) and then add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
switch:
- name: Television
platform: enocean
- platform: enocean
name: Front door
id: [0x01,0x90,0x84,0x3C]
```
Configuration variables:
- **id** (*Required*): The ID of the device. This is a 4 bytes long number.
- **platform** (*Required*): Set to `enocean`.
- **name** (*Required*): An identifier for the switch
- **name** (*Optional*): An identifier for the switch. Default to `EnOcean Switch`.