Open miczmc opened 5 years ago
I don't know Python, but I think I can see the problem, In lines 400-404 it's possible that setModeLevel doesn't get set, and is used later on. I just need to find out how if then else constructs work in Python, then might be able to resolve. The variable probably needs setting to a default at the beginning of the domoticz_sync_switchs function. But what should the default be?