I’ve got a question while using rules.
I have some 433MHz contact sensors for my windows at home connected via the homeduino plugin and have the following (working) rule:
When Handy is absent for 2 minutes send text telegram to User “Window is $testkontakt.contact”
In Telegram I get the message: Window is true or Window is false
Can I somehow change the output of the variable to open or closed?
I have about 10 windows and don’t want to create one rule for each state and window and then send 20 messages to Telegram. I want to send one message with each window state.
Best Regards