How do i check items status and send telegram message?

I have a rule when everyone leaves the house so all the shutters will close and all the lights also turn off so I am interested in adding to the rule or creating one in addition that after 5 minutes he will send me a message to the telegram what the condition of each item appears in the rule
It is possible?

rule "Routines Away"
when
    Item athome changed to OFF
then
    HarmonyHubCurrentActivity.sendCommand("PowerOff")
    Blinds.sendCommand(100)
    Lights.sendCommand(OFF)

    createTimer(now.plusSeconds(10) , [|
    shelly_shellyrgbw2_color_a69cda_control_power.sendCommand(OFF) ///RGB מטבח
    shelly_shellyrgbw2_color_a57295_control_power.sendCommand(OFF) ///RGB סלון
])

end

You already know how to use a timer, which part is giving you trouble?

I forgot to update that I was able to get the desired result I wanted

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.