Homebridge value

Hello, when I open the iphone home app, it shows me that the light is open, but it’s closed.and when I open it shows it is closed.how can change the value from json?thanks