Is there a way to force emit_event to post to device history when the event has no change, similar to the isStateChange option in Groovy?
local ev = capabilities.button.button.pushed() ev.state_change = true device:emit_event(ev)
You may take a look at my source code of Hue Dimmer Switch Edge Driver.
Perfect. Thank you!