"Fake" physical dimmer dilemma

Looks like this is something similar to previous topic: Smart bulb dimming with Red Series Dimmer (LZW31-SN) on Hubitat - #10 by jws6
To disable relay, etc…and one of the repliers was able to sync the LED indicator with the dim level…not sure if it was the most efficient way with multiple RuleMachine rules and variables though