State changed event fires when state hasn't changed

I have the following automation:


I was hoping this would only fire when i change the brightness, colour, etc of the lights., but in fact it seems to fire every 10 (or so) seconds, regardless of if I’ve made a change to the light. The only way I can understand this is that it happens because the state of the entity is republished by deconz, which I use for controlling my zigbee lights. Is there a better way to run an automation only when a light actually does change ? Or is there another suggestion of what I could do here?

Thank you,

James