I believe you’re referring to the comment of mine and that was specific to a different device type handler. Different device type handlers are handling the dimmer switch in different ways. The method used in the thread
Is for dimmer switches which are still connected to the hue bridge. Not connected directly to the SmartThings hub. That author has been trying to expose the Hue dimmer actions to SmartThings using the Hue Bridge API, But his method involves polling a sensor.
The method being used in this thread is completely different. It is trying to attach a Hue dimmer switch directly to the smartthings hub and use the ZHA endpoints.
So it’s the same device, but it’s being used in two very different ways with two very different device type handlers. Comments from one thread will not apply to the other device type handler