From 0d705076ccbcc69bc3299062da0abc570342f660 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Wed, 13 Mar 2024 13:06:45 +0100 Subject: [PATCH] Document button entities (#31750) --- source/_integrations/homeworks.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_integrations/homeworks.markdown b/source/_integrations/homeworks.markdown index c16450c468b..7d6af8280b7 100644 --- a/source/_integrations/homeworks.markdown +++ b/source/_integrations/homeworks.markdown @@ -4,12 +4,14 @@ description: How to use Lutron Homeworks Series 4 & 8 with Home Assistant. ha_category: - Hub - Binary sensor + - Button - Light ha_release: 0.85 ha_iot_class: Local Push ha_domain: homeworks ha_platforms: - binary_sensor + - button - light ha_integration_type: integration --- @@ -20,7 +22,7 @@ Only a subset of the Homeworks system is supported - lights and keypads. Lutron has created many systems over the years, each with their own unique interfacing protocol. There are three Homeworks systems - QS, Series 4 & 8, and original. This platform is only for Series 4 & 8. There is another integration [lutron](/integrations/lutron/) which handles Lutron RadioRA 2 systems. -Homeworks keypad buttons are momentary switches. The button is pressed and released, meaning that there is no "state". Buttons generate `homeworks_button_press` and `homeworks_button_release` events. These events contain the "id", "name", and "button" of the button that was pressed. "id" is derived from "name", and "button" is the number of the button on the keypad (starting at 1). It's also possible to add binary sensor entities which indicate if a keypad LED is lit. +Homeworks keypad buttons are momentary switches. The button is pressed and released, meaning that there is no "state". Buttons generate `homeworks_button_press` and `homeworks_button_release` events. These events contain the "id", "name", and "button" of the button that was pressed. "id" is derived from "name", and "button" is the number of the button on the keypad (starting at 1). It's also possible to add binary sensor entities which indicate if a keypad LED is lit and button entities which can be used to trigger the actions bound to a keypad button. {% include integrations/config_flow.md %}