Simply automation for shelly

Hello, sry for my bad english first.
I would like to replace my iobroker.
First, I’ll start mapping all the Blockly from iobrocker in the Has.
How can I just create an automation, when a socket goes on, text via Telegram and when the socket goes off again, also a text via Telegram. I can do it with two automations, but is it possible to do it in one, as with Blockly?

Thanks

1 Like