I saw some strange behaviour, while Devices[Unit].Update() trigger an onCommand call back !
This seems to be mainly happening on the Switch Selector
Python Plugin framework - Update DB trigger onCommand
Moderator: leecollings