Mi(Xiaomi) Smart home bindings?

Number WindowSwitch_AlarmTimer <clock> { channel="mihome:sensor_magnet:158d00013e5f82:isOpenAlarmTimer" }
Number MotionSensor_MotionTimer <clock> { channel="mihome:sensor_motion:158d000128b345:motionOffTimer" }

What here should be?
I could not get the values to change here …

Switch Gateway_LightSwitch <light> { channel="mihome:gateway:286c078921f5:brightness" }

If you press this button, the light goes out, no more how to turn it off, only through the application, I’m doing something wrong?