table view for door and window state changes.