Update Rflink light component configuration (#7095)

* Update Rflink light component configuration

* ✏️ Oops forgot to save before first push

* 🚑 Minor change

* 🚑 Minor change

* Minor change
This commit is contained in:
Klaas Schoute 2018-10-26 10:34:11 +02:00 committed by Fabian Affolter
parent d38c51fb2b
commit 594798a2ed

View File

@ -37,26 +37,68 @@ light:
name: Living room name: Living room
``` ```
Configuration variables: {% configuration %}
device_defaults:
- **automatic_add** (*Optional*): Automatically add new/unconfigured devices to HA if detected (default: True). description: The defaults for the devices.
- **devices** (*Optional*): A list of devices with their name to use in the frontend. required: false
- **device_defaults**: (*Optional*) type: list
- **fire_event** (*Optional*): Set default `fire_event` for Rflink switch devices (see below). keys:
- **signal_repetitions** (*Optional*): Set default `signal_repetitions` for Rflink switch devices (see below). fire_event:
description: Set default `fire_event` for Rflink switch devices (see below).
Device configuration variables: required: false
type: boolean
- **name** (*Optional*): Name for the device, defaults to Rflink ID. signal_repetitions:
- **type** (*Optional*): Override automatically detected type of the light device, can be: switchable, dimmable, hybrid or toggle. See 'Light Types' below. (default: Switchable) description: Set default `signal_repetitions` for Rflink switch devices (see below).
- **aliases** (*Optional*): Alternative Rflink ID's this device is known by. required: false
- **fire_event** (*Optional*): Fire a `button_pressed` event if this device is turned on or off (default: False). type: integer
- **signal_repetitions** (*Optional*): Repeat every Rflink command this number of times (default: 1). automatic_add:
- **fire_event_** (*Optional*): Set default `fire_event` for RFLink switch devices (see below). description: Automatically add new/unconfigured devices to HA if detected.
- **signal_repetitions** (*Optional*): Set default `signal_repetitions` for RFLink switch devices (see below). required: false
- **group** (*Optional*): Allow light to respond to group commands (ALLON/ALLOFF). (default: yes) default: true
- **group_aliases** (*Optional*): `aliases` which only respond to group commands. type: boolean
- **no_group_aliases** (*Optional*): `aliases` which do not respond to group commands. devices:
description: A list of devices with their name to use in the frontend.
required: false
type: list
keys:
name:
description: Name for the device.
required: false
default: Rflink ID
type: string
type:
description: "Override automatically detected type of the light device, can be: switchable, dimmable, hybrid or toggle. See 'Light Types' below."
required: false
default: switchable
type: string
aliases:
description: (deprecated) Alternative Rflink ID's this device is known by.
required: false
type: [list, string]
group_aliases:
description: "(deprecated) `aliases` which only respond to group commands."
required: false
type: [list, string]
no_group_aliases:
description: "(deprecated) `aliases` which do not respond to group commands."
required: false
type: [list, string]
fire_event:
description: Fire a `button_pressed` event if this device is turned on or off.
required: false
default: false
type: boolean
signal_repetitions:
description: Repeat every Rflink command this number of times.
required: false
default: 1
type: integer
group:
description: Allow light to respond to group commands (ALLON/ALLOFF).
required: false
default: true
type: boolean
{% endconfiguration %}
### {% linkable_title Light state %} ### {% linkable_title Light state %}
@ -104,4 +146,3 @@ Lights are added automatically when the RFLink gateway intercepts a wireless com
### {% linkable_title Device support %} ### {% linkable_title Device support %}
See [device support](/components/rflink/#device-support) See [device support](/components/rflink/#device-support)