mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Updated to new style configuration for keyboard_remote.markdown (#7316)
This commit is contained in:
parent
d54499fc21
commit
3b8d84db50
@ -25,11 +25,20 @@ keyboard_remote:
|
||||
type: 'key_up'
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **type** (*Required*): Possible values are `key_up`, `key_down`, and `key_hold`. Be careful, `key_hold` will fire a lot of events.
|
||||
- **device_descriptor** (*Optional*): Path to the local event input device file that corresponds to the keyboard.
|
||||
- **device_name** (*Optional*): Name of the keyboard device.
|
||||
{% configuration %}
|
||||
type:
|
||||
description: Possible values are `key_up`, `key_down`, and `key_hold`. Be careful, `key_hold` will fire a lot of events.
|
||||
required: true
|
||||
type: string
|
||||
device_description:
|
||||
description: Path to the local event input device file that corresponds to the keyboard.
|
||||
required: false
|
||||
type: string
|
||||
device_name:
|
||||
description: Name of the keyboard device.
|
||||
required: false
|
||||
type: string
|
||||
{% endconfiguration %}
|
||||
|
||||
Either `device_name` or `device_descriptor` must be present in the configuration entry. Indicating a device name is useful in case of repeating disconnections and re-connections of the device (for example, a bluetooth keyboard): the local input device file might change, thus breaking the configuration, while the name remains the same.
|
||||
In case of presence of multiple devices of the same model, `device_descriptor` must be used.
|
||||
|
Loading…
x
Reference in New Issue
Block a user