Just to make it clear, in case the detail is missed.
This error is coming from a Generic MQTT Thing Switch type Channel. The message received on the topic is a number instead of something that the Channel can transform/convert to an ON/OFF or OPEN/CLOSED.