Same value to same value state transition

My listener for my Nest Hello camera sensor gets fired a lot where the old value is the same as the new value. Specifically, I’ll get a recording old value and a recording new value.

I’ll see this occasionally with other entities, but 95% of the time it’s the Nest Hello.

  1. Are same-value state transitions like this common and to be expected?
  2. I currently just check new vs old and do an early exit out of my listener. Is there some configuration or something that I’ve missed in the docs that prevents the listener from firing when old == new?
  1. Yes this is normal behaviour for some devices. The state of the Nest Hello is probably being pulled, so on every pull the state will be updated even if it is the same state as before.
  2. I don’t know about any other possibility than the one you are using now.