This is a known flaw with Zigbee2MQTT. Although the device has actually changed modes, the Zigbee2MQTT cache still registers the old mode when you re-pair.
To successfully overcome
this, you need to power cycle Zigbee2MQTTafter removing the RD1-Pro from your
system.
- Remove
the RD1-Pro from Zigbee2MQTT
- Power
cycle Zigbee2MQTT (A restart is not enough – it must be a power cycle)
- Set the
mode as you wish
- Re-pair
to Zigbee2MQTT