How can i make a disconneted device shown as off in picture elements

Hello guys,

i try to search so long for a solution, but without succes. Could someone help me with it?

I have a zigbee light and a normal switch. if i shut off the lamp in the picture elements its still shown as on.