Is It possible to set the colour the following button. I am working on IR Remote using basic UI .
So looking set different colour for Type of remote & “On=Off” / Mute button
My Sitemap:
sitemap IRRemote {
Frame {
Text item=Date label=“Now Date & Time”
}
Frame {
Switch item=IRRMOTE_ON label="" icon="" mappings=[1=“TATASKY”, 2=“TV”, 3=“AC”]
}
Frame {
Switch item=TATASKYL label="" icon="" mappings=["KEYPOWER"="ON-OFF", KEYINPUT="INPUT", KEYMUTE="Mute"] visibility=[IRRMOTE_ON==1]
}
Frame {
Switch item=TATASKYL label="" icon="" mappings=[KEYCHUP="CH+", KEYUP="^", KEYVOLUP="VOL+"] visibility=[IRRMOTE_ON=="1"]
}
Frame {
Switch item=TATASKYL label="" icon=""mappings=[KEYLEFT="<", KEYOK="OK", KEYRIGHT=">"] visibility=[IRRMOTE_ON=="1"]
}
Frame {
Switch item=TATASKYL label="" icon="" mappings=[KEYCHDOWN="CH-", KEYDOWN="v", KEYVOLDOWN="VOL-"] visibility=[IRRMOTE_ON=="1"]
}
Frame {
Switch item=TATASKYL label="" icon="" mappings=[KEY1="1", KEY2="2", KEY3="3"] visibility=[IRRMOTE_ON=="1"]
}
Frame {
Switch item=TATASKYL label="" icon="" mappings=[KEY4="4", KEY5="5", KEY7="6"] visibility=[IRRMOTE_ON=="1",IRRMOTE_ON=="2"]
}
Frame {
Switch item=TATASKYL label="" icon="" mappings=[KEY7="7", KEY8="8", KEY9="9"]
}
Frame {
Switch item=TATASKYL label="" icon="" mappings=[KEYST="*", KEY0="0", KEYHA="#"]
}
Frame {
Switch item=TATASKYL label="" icon="" mappings=[KEYat="@", KEYPER="%", KEYD=":D"]
}
}
Item file :
String TATASKYL “TATASKYL” (IR) {autoupdate=“false”} // {expire=“1s,OFF”}