Change subscription change type from 'any' to 'ne'

This commit is contained in:
Armilar
2025-11-21 23:19:57 +01:00
committed by GitHub
parent c038745d1b
commit 155b08d6d5

View File

@@ -6418,7 +6418,7 @@ function RegisterEntityWatcher (id: string): void {
return;
}
subscriptions[id] = on({id: id, change: 'any'}, (obj) => {
subscriptions[id] = on({id: id, change: 'ne'}, (obj) => {
//@ts-ignore
if (obj.oldState && obj.oldState.val === obj.state.val && obj.state.ack) {
return;