[Edge Drivers] Issue with Zigbee Switch driver (status in the app)

Hi @nayelyz

In my zigbee switch Mc driver I put some marks to print the value of the on-off attribute received in the handler and to be able to analyze what was happening with the @Paul_Oliver sonoff zigbee mini last January.

In this posts everything is explained and the solution I did.

The sonoff of @Paul_Oliver still working fine with my driver.

The problem they have now with these devices of @montyfert is that only a value of 0 or 1 is received, I do not know why, and therefore my driver intentionally does not emit on-off events and the stock driver does not work because the default on-off handler does not correctly interpret the value 0 and 1.
@orangebucket may have given a solid hint