Are these issues the same?
Here, you say -:
However I understood the issue here is different
I understood this to mean that it doesn’t update the state if it’s commanded directly - ie via switch or other system.
Maybe I’ve misinterpreted the question? IF so, then my answer is also not relevant as I was assuming the issue is relating to reporting of device states