I am using Shelly using integration (no mqtt).
I am having a hard time to find a proper way to handle such event triggered by script: Shelly.emitEvent(“testing”, {value: false});
I would like to trigger automation based on it’s name, but setting up:
- trigger: event
event_type: testing
is a no go.
In debug logs, I can see following:
2025-05-23 10:26:01.706 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] recv(192.168.88.31:80): {‘src’: ‘shellyplusplugs-b48a0a1c5cbc’, ‘dst’: ‘aios-140076620147792’, ‘method’: ‘NotifyEvent’, ‘params’: {‘ts’: 1747988761.69, ‘events’: [{‘component’: ‘script:3’, ‘id’: 3, ‘event’: ‘testing’, ‘data’: {‘value’: False}, ‘ts’: 1747988761.69}]}}
2025-05-23 10:26:01.706 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Notification: NotifyEvent {‘ts’: 1747988761.69, ‘events’: [{‘component’: ‘script:3’, ‘id’: 3, ‘event’: ‘testing’, ‘data’: {‘value’: False}, ‘ts’: 1747988761.69}]}