I searched in under “ideas” before writing this topic, but couldn’t find similar to this idea.
I am currently using OpenHab2 and HomeAssistant, with both UI’s (habpanel and Home Assistant) there is option to create your own widget. In HabPanel they call it “Template” where you can write your own code and link the items for different action.
I wonder if this would be possible with HomeHabit, since it connects to different platforms which they are using different languages and scripts.