Document homeworks.send_command (#32011)

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Erik Montnemery 2024-04-03 12:12:19 +02:00 committed by GitHub
parent 90c7cf4797
commit 66989f9c7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,3 +27,14 @@ Homeworks keypad buttons are momentary switches. The button is pressed and rele
{% include integrations/config_flow.md %} {% include integrations/config_flow.md %}
The protocol for automatically extracting device information from the controller isn't documented. Lights and keypads need to be added manually. This is done by configuring the integration after it has been added. The protocol for automatically extracting device information from the controller isn't documented. Lights and keypads need to be added manually. This is done by configuring the integration after it has been added.
## Services
### Service `send_command`
Send a custom command to the Lutron Homeworks controller.
| Service data attribute | Optional | Example | Description |
| ---------------------- | -------- | ----------------------- | --------------------------------------------------- |
| `controller_id` | No | `homeworks` | The controller to which the command should be sent to. |
| `command` | No | `KBP, [02:08:02:01], 1` | The command you want to send. This can either be a single command or a list of commands. |