Hello,
i am using multiple shelly devices in my home in detached mode where i use home assistant to control the actual lights depending on the click type on the button
Now it looks like the Plus 2 PM only sents "long push" events and not "single push" and "double push" events
Single push:
ZitatAlles anzeigenevent_type: shelly.click
data:
device_id: f2ab7534571a6e1453540c16ff2f3e96
device: shellyplus2pm-441793a7bd64
channel: 1
click_type: btn_up
generation: 2
origin: LOCAL
time_fired: "2022-08-15T10:42:48.010629+00:00"
context:
id: 01GAGHJN2AW2TQFQN0W82RY4Z1
parent_id: null
user_id: null
event_type: shelly.click
data:
device_id: f2ab7534571a6e1453540c16ff2f3e96
device: shellyplus2pm-441793a7bd64
channel: 1
click_type: btn_down
generation: 2
origin: LOCAL
time_fired: "2022-08-15T10:42:48.376210+00:00"
context:
id: 01GAGHJNDRSSYDRXNJM7Z8CKW6
parent_id: null
user_id: null
event_type: shelly.click
data:
device_id: f2ab7534571a6e1453540c16ff2f3e96
device: shellyplus2pm-441793a7bd64
channel: 1
click_type: long_push
generation: 2
origin: LOCAL
time_fired: "2022-08-15T10:42:49.380119+00:00"
context:
id: 01GAGHJPD4H51AZ3PJ2043QGMC
parent_id: null
user_id: null
Double Push:
ZitatAlles anzeigenevent_type: shelly.click
data:
device_id: f2ab7534571a6e1453540c16ff2f3e96
device: shellyplus2pm-441793a7bd64
channel: 1
click_type: btn_up
generation: 2
origin: LOCAL
time_fired: "2022-08-15T10:42:55.635445+00:00"
context:
id: 01GAGHJWGK3EW9H0WESVNX4X47
parent_id: null
user_id: null
event_type: shelly.click
data:
device_id: f2ab7534571a6e1453540c16ff2f3e96
device: shellyplus2pm-441793a7bd64
channel: 1
click_type: btn_down
generation: 2
origin: LOCAL
time_fired: "2022-08-15T10:42:55.814907+00:00"
context:
id: 01GAGHJWP6VHYG8G8FWZVKX62C
parent_id: null
user_id: null
event_type: shelly.click
data:
device_id: f2ab7534571a6e1453540c16ff2f3e96
device: shellyplus2pm-441793a7bd64
channel: 1
click_type: btn_up
generation: 2
origin: LOCAL
time_fired: "2022-08-15T10:42:55.984380+00:00"
context:
id: 01GAGHJWVG3E2BE1GPMXT6SKE4
parent_id: null
user_id: null
event_type: shelly.click
data:
device_id: f2ab7534571a6e1453540c16ff2f3e96
device: shellyplus2pm-441793a7bd64
channel: 1
click_type: btn_down
generation: 2
origin: LOCAL
time_fired: "2022-08-15T10:42:56.163484+00:00"
context:
id: 01GAGHJX13M3A1D3A2RN5HP73D
parent_id: null
user_id: null
event_type: shelly.click
data:
device_id: f2ab7534571a6e1453540c16ff2f3e96
device: shellyplus2pm-441793a7bd64
channel: 1
click_type: long_push
generation: 2
origin: LOCAL
time_fired: "2022-08-15T10:42:57.154622+00:00"
context:
id: 01GAGHJY0297ZY0J4M1WKZB9EQ
parent_id: null
user_id: null
Long push:
ZitatAlles anzeigenevent_type: shelly.click
data:
device_id: f2ab7534571a6e1453540c16ff2f3e96
device: shellyplus2pm-441793a7bd64
channel: 1
click_type: btn_up
generation: 2
origin: LOCAL
time_fired: "2022-08-15T10:42:51.153043+00:00"
context:
id: 01GAGHJR4H8CKSQ8GK19H2X6PB
parent_id: null
user_id: null
event_type: shelly.click
data:
device_id: f2ab7534571a6e1453540c16ff2f3e96
device: shellyplus2pm-441793a7bd64
channel: 1
click_type: btn_down
generation: 2
origin: LOCAL
time_fired: "2022-08-15T10:42:53.707947+00:00"
context:
id: 01GAGHJTMBTMY7GDMBD1F609TA
parent_id: null
user_id: null
event_type: shelly.click
data:
device_id: f2ab7534571a6e1453540c16ff2f3e96
device: shellyplus2pm-441793a7bd64
channel: 1
click_type: long_push
generation: 2
origin: LOCAL
time_fired: "2022-08-15T10:42:54.698260+00:00"
context:
id: 01GAGHJVKA242WSDA3CW6AP6E6
parent_id: null
user_id: null
I tried this before on a Plus 1 PM and here it works fine
ZitatAlles anzeigenevent_type: shelly.click
data:
device_id: 38200b5e8e020c24f50856165f8f2f24
device: shellyplus1pm-441793cf0928
channel: 1
click_type: single_push
generation: 2
origin: LOCAL
time_fired: "2022-08-15T10:41:44.785394+00:00"
context:
id: 01GAGHGQAHYE91T3CZZNQRY0WB
parent_id: null
user_id: null
ZitatAlles anzeigenevent_type: shelly.click
data:
device_id: 38200b5e8e020c24f50856165f8f2f24
device: shellyplus1pm-441793cf0928
channel: 1
click_type: double_push
generation: 2
origin: LOCAL
time_fired: "2022-08-15T10:41:51.869934+00:00"
context:
id: 01GAGHGY7X9S708WRMSQTA7Z8Q
parent_id: null
user_id: null
am i doing something wrong or is this a bug?
firmware version: 20220617-113003/0.10.3-g7c89a05
home assistant version: 2022.8.4