If a contact sensor changes state and then changes back within the polling window (2sec default), the change will not be registered at all in HomeKit... that is, if you poll and it's closed, and then two seconds later you poll and it's closed again, no update is sent. Makes sense, but I discovered that this is annoying when I put a door sensor on my mailbox and was missing notifications (cool application though!).
To do this (again, without #25) we'll have to watch the updateTime for changes, and assume one toggle occurred if the state is unchanged but the updateTime is. Same problem as #82, for better or worse.
If a contact sensor changes state and then changes back within the polling window (2sec default), the change will not be registered at all in HomeKit... that is, if you poll and it's closed, and then two seconds later you poll and it's closed again, no update is sent. Makes sense, but I discovered that this is annoying when I put a door sensor on my mailbox and was missing notifications (cool application though!).
To do this (again, without #25) we'll have to watch the
updateTime
for changes, and assume one toggle occurred if the state is unchanged but theupdateTime
is. Same problem as #82, for better or worse.