mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 18:36:51 +00:00
Add information about an event platform for Shelly Gen2 devices (#28800)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
9dff28371a
commit
d8cf4bb7b7
@ -28,6 +28,7 @@ ha_platforms:
|
||||
- climate
|
||||
- cover
|
||||
- diagnostics
|
||||
- event
|
||||
- light
|
||||
- number
|
||||
- sensor
|
||||
@ -121,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 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.
|
||||
|
||||
## Events
|
||||
|
||||
If the **BUTTON TYPE** of the switch connected to the device is set to `momentary` or `detached switch`, integration fires events under the type `shelly.click` when the switch is used. You can use these events in your automations.
|
||||
|
Loading…
x
Reference in New Issue
Block a user