Hi, I found a bug that I cannot get switch state. you should annotate the "if" statement, or you cannot get the state when switch to true. 
Hi,
I found a bug that I cannot get switch state. you should annotate the "if" statement, or you cannot get the state when switch to true.