From 631640daf5c02a64b5707a2b64e4668c61fbdafa Mon Sep 17 00:00:00 2001 From: Maciej Bieniek Date: Sat, 23 Sep 2023 14:22:02 +0000 Subject: [PATCH] Add information about event platform for gen1 devices (#28979) --- source/_integrations/shelly.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_integrations/shelly.markdown b/source/_integrations/shelly.markdown index 0fb4026ce4c..68f2c458206 100644 --- a/source/_integrations/shelly.markdown +++ b/source/_integrations/shelly.markdown @@ -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.