Hi @Try2Fly i’m new to AppDaemon, to use your script i need something like automation? I installed and configured Appdaemon, changed the light name but it doesn’t work
An easy way to bypass the variable name conflict for event filtering with deconz
#callback initialisation : add a kwargs variable named deconz_event or whatever you want and event number
self.listen_event(self.callback_name, "deconz_event", id="switch", deconz_event=2002)
# in each callback definition : add this if statement at the beginning
def callback_name(self, event_name, data, kwargs)
if data["event"] == kwargs["deconz_event"]: