Consider this as a newbie question.
I have blocky events and also scripts that are running fine and I would like to combine them.
For example when I turn a dummy switch on, on a sunday, I want to send my a Telegram message to my girlfriend (see attachment).
Lua Script command:
Code: Select all
script:///home/pi/tg/scripts/generic/telegram.sh msg 'GirlFriend' "Goodmorning sweetheart"
But in this case the script has in input of a string that is variable, which means I should make a lot of scene's with different text as input.
Hopefully one of you guys has a creative way to solve this!
Kind regards,
Duan