[OBSOLETE] Hue Dimmer Switch DTH (No Hue bridge) rewritten

There’s health check problem in Edge Driver with some of the battery powered devices that never send heartbeat.

Sensors or buttons that periodically send their packets are OK for Edge Drivers,

but Hue Dimmer Switch never sends any packet unless you press the button.
That means, if you don’t frequently press the button, it will become offline.

In Groovy DTH, it is possible to turn off the health check with the following source code, but it is impossible to do such thing in Edge Driver.

sendEvent(name: "DeviceWatch-Enroll", value: JsonOutput.toJson([protocol: "zigbee", scheme:"untracked"]), displayed: false)

I’ve already asked for the solution for this problem.