mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Add information about event platform for gen1 devices (#28979)
This commit is contained in:
parent
b977210046
commit
631640daf5
@ -122,6 +122,10 @@ Depending on how a device's button type is configured, the integration will crea
|
||||
|
||||
For generation 2 hardware it's possible to select if a device's input is connected to a button or a switch. Binary sensors are created only if the input mode is set to `switch`. When the input is of type `button` you need to use events for your automations.
|
||||
|
||||
## Event entities (generation 1)
|
||||
|
||||
If the **BUTTON TYPE** of the switch connected to the device is set to `momentary` or `detached switch`, the integration creates an event entity for this switch. You can use this entity in your automations.
|
||||
|
||||
## Event entities (generation 2)
|
||||
|
||||
If the **Input Mode** of the switch connected to the device is set to `Button`, the integration creates an event entity for this switch. You can use this entity in your automations.
|
||||
|
Loading…
x
Reference in New Issue
Block a user