Document change to Lutron button events for un-named buttons (#18650)

This commit is contained in:
Nicko van Someren 2021-08-02 06:44:23 -06:00 committed by Franck Nijhof
parent db85335465
commit 34457a6c52
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -63,7 +63,7 @@ It is recommended to assign a static IP address to your main repeater. This ensu
Individual buttons on keypads are not represented as entities. Instead, they fire events called `lutron_event` whose payloads include `id` and `action` attributes. Individual buttons on keypads are not represented as entities. Instead, they fire events called `lutron_event` whose payloads include `id` and `action` attributes.
The `id` attribute includes the name of the keypad and the name of the button, normalized the same way entity names are. For example, if the keypad is called "Kitchen Keypad" and the button is called "Dinner" the event's `id` will be `kitchen_keypad_dinner`. The `id` attribute includes the name of the keypad and the name of the button, normalized the same way entity names are. For example, if the keypad is called "Kitchen Keypad" and the button is called "Dinner" the event's `id` will be `kitchen_keypad_dinner`. If the button has not been assigned a name by the Lutron system installer then the button will have a name of "Unknown Button". In this case the `id` will be suffixed with the underlying Lutron button number and will be of the form `kitchen_keypad_unknown_button_1`.
The `action` attribute varies depending on the button type. The `action` attribute varies depending on the button type.