I have this in my sitemap
Frame label=“Temperature” {
Text item=Door_Temperature
Switch item=Temperature_Chart_Period icon=“temperature” label=“Chart Period” mappings=[0=“Hour”, 1=“Day”, 2=“Week”]
Chart item=Temperature_Chart period=h refresh=300 visibility=[Temperature_Chart_Period==0, Temperature_Chart_Period==“Uninitialized”]
Chart item=Temperature_Chart period=D refresh=1800 visibility=[Temperature_Chart_Period==1]
Chart item=Temperature_Chart period=W refresh=3600 visibility=[Temperature_Chart_Period==2]
}
I am hoping I can choose the switch and it shows the appropriate chart.
The switch seems to do nothing and all charts are always shown.
Can someone tell me where I have the wrong syntax?
Thanks
Andrew