Xiaomi gateway switch to brightness strange behavior

Please use code fences

To remove the percentage do this:

Switch iluminacaoCorredorEstado “Estado[]” {channel=“mihome:gateway:7811dcb9e925:brightness”}

You don’t need a decimal point for a dimmer percentage:

Dimmer iluminacaoCorredorBrilho “Brilho [%d]” { channel=“mihome:gateway:7811dcb9e925:brightness” }`

Finally:

Sorry, don’t understand